![]() |
Windows
|
[DllImportAttribute("advapi32.dll", SetLastError = true)] public static bool AdjustTokenPrivileges( IntPtr TokenHandle, bool DisableAllPrivileges, ref WindowsApi.TOKEN_PRIVILEGES NewState, int BufferLength, IntPtr PreviousState, ref int ReturnLength )