예제 #1
0
 internal static extern bool AdjustTokenPrivileges(IntPtr tokenHandle,
     [MarshalAs(UnmanagedType.Bool)] bool disableAllPrivileges,
     ref TokenPrivileges newState, UInt32 bufferLength,
     IntPtr previousState, IntPtr returnLength);
예제 #2
0
 internal static extern bool AdjustTokenPrivileges(IntPtr tokenHandle,
                                                   [MarshalAs(UnmanagedType.Bool)] bool disableAllPrivileges,
                                                   ref TokenPrivileges newState, UInt32 bufferLength,
                                                   IntPtr previousState, IntPtr returnLength);