Abstractions.WindowsApi.pInvokes.SafeNativeMethods.DuplicateTokenEx C# (CSharp) Méthode

DuplicateTokenEx() private méthode

private DuplicateTokenEx ( IntPtr hExistingToken, uint dwDesiredAccess, IntPtr tokenAttr, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, IntPtr &phNewToken ) : bool
hExistingToken System.IntPtr
dwDesiredAccess uint
tokenAttr System.IntPtr
ImpersonationLevel SECURITY_IMPERSONATION_LEVEL
TokenType TOKEN_TYPE
phNewToken System.IntPtr
Résultat bool
            public extern static bool DuplicateTokenEx(IntPtr hExistingToken, uint dwDesiredAccess, IntPtr tokenAttr,
                SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, out IntPtr phNewToken);