Example #1
0
        public KernelResult GetInfo32(
            [R(0)] uint subIdLow,
            [R(1)] uint id,
            [R(2)] int handle,
            [R(3)] uint subIdHigh,
            [R(1)] out uint valueLow,
            [R(2)] out uint valueHigh)
        {
            long subId = (long)(subIdLow | ((ulong)subIdHigh << 32));

            KernelResult result = _syscall.GetInfo(id, handle, subId, out long value);

            valueHigh = (uint)(value >> 32);
            valueLow  = (uint)(value & uint.MaxValue);

            return(result);
        }
Example #2
0
 public KernelResult GetInfo64([R(1)] uint id, [R(2)] int handle, [R(3)] long subId, [R(1)] out long value)
 {
     return(_syscall.GetInfo(id, handle, subId, out value));
 }
Example #3
0
 public KernelResult GetInfo64([R(1)] InfoType id, [R(2)] int handle, [R(3)] long subId, [R(1)] out ulong value)
 {
     return(_syscall.GetInfo(out value, id, handle, subId));
 }