RhGetProcessToken() private method

private RhGetProcessToken ( Int32 InProcessId, IntPtr &OutToken ) : Int32
InProcessId System.Int32
OutToken System.IntPtr
return System.Int32
示例#1
0
 public static void RhGetProcessToken(Int32 InProcessId, out IntPtr OutToken)
 {
     if (Is64Bit)
     {
         Force(NativeAPI_x64.RhGetProcessToken(InProcessId, out OutToken));
     }
     else
     {
         Force(NativeAPI_x86.RhGetProcessToken(InProcessId, out OutToken));
     }
 }