Desktop Functions: Smart Device Functions:
|
Search Results for "DuplicateTokenEx" in [All]advapi32
public extern static bool DuplicateTokenEx(
public extern static bool DuplicateTokenEx(
Declare Auto Function DuplicateTokenEx Lib "advapi32.dll" ( _
Public Shared Function DuplicateTokenEx(hExistingToken As IntPtr, dwDesiredAccess As UInteger, lpTokenAttributes As IntPtr, ImpersonationLevel As SECURITY_IMPERSONATION_LEVEL, TokenType As TOKEN_TYPE, ByRef phNewToken As IntPtr) As Boolean
ret = DuplicateTokenEx(Token, UInt32.Parse(GRANTED_ALL, System.Globalization.NumberStyles.HexNumber), sa, SecurityImpersonation, TokenType, DupedToken) |