ShootBlues.Win32.AdjustTokenPrivileges C# (CSharp) Méthode

AdjustTokenPrivileges() private méthode

private AdjustTokenPrivileges ( IntPtr tokenHandle, [ disableAllPrivileges, TokenPrivileges &newState, UInt32 pOldStateMaxLength, IntPtr pOldState, IntPtr pOldStateLength ) : bool
tokenHandle System.IntPtr
disableAllPrivileges [
newState TokenPrivileges
pOldStateMaxLength System.UInt32
pOldState System.IntPtr
pOldStateLength System.IntPtr
Résultat bool
        public static extern bool AdjustTokenPrivileges(
            IntPtr tokenHandle,
            [MarshalAs(UnmanagedType.Bool)]bool disableAllPrivileges,
            ref TokenPrivileges newState,
            UInt32 pOldStateMaxLength,
            IntPtr pOldState,
            IntPtr pOldStateLength
        );