C# Class WinLib.WinAPI.Advapi32

显示文件 Open project: SortByte/Network-Manager

Public Methods

Method Description
SetDebugPrivilege ( ) : void

Private Methods

Method Description
AdjustTokenPrivileges ( IntPtr TokenHandle, bool DisableAllPrivileges, IntPtr NewState, uint BufferLength, IntPtr PreviousState, uint &ReturnLength ) : bool
LookupPrivilegeValueW ( string SystemName, string Name, LUID &Luid ) : bool
OpenProcessToken ( IntPtr ProcessHandle, uint DesiredAccess, IntPtr &TokenHandle ) : bool

Method Details

SetDebugPrivilege() public static method

public static SetDebugPrivilege ( ) : void
return void