示例#1
0
 public static extern bool OpenProcessToken(IntPtr processHandle, uint desiredAccess, out TokenSafeHandle tokenHandle);
示例#2
0
 public static extern bool GetTokenInformation(TokenSafeHandle tokenHandle, TOKEN_INFORMATION_CLASS tokenInformationClass,
                                               IntPtr tokenInformation, uint tokenInformationLength, out uint returnLength);
示例#3
0
 public static extern bool OpenProcessToken(IntPtr ProcessHandle, UInt32 DesiredAccess,
                                            out TokenSafeHandle TokenHandle);