ShootBlues.Win32.AdjustTokenPrivileges C# (CSharp) 메소드

AdjustTokenPrivileges() 개인적인 메소드

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
리턴 bool
        public static extern bool AdjustTokenPrivileges(
            IntPtr tokenHandle,
            [MarshalAs(UnmanagedType.Bool)]bool disableAllPrivileges,
            ref TokenPrivileges newState,
            UInt32 pOldStateMaxLength,
            IntPtr pOldState,
            IntPtr pOldStateLength
        );