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