Method | Description | |
---|---|---|
ExitSystem ( EWX_ENUM ewx_value ) : void |
Shuts down the machine according the given value.
|
Method | Description | |
---|---|---|
AdjustTokenPrivileges ( int tokenHandler, int disableAllPrivileges, [ newState, int bufferLength, int previousState, int returnLength ) : int | ||
ExitwindowsEx ( int flg, int rea ) : bool | ||
GetCurrentProcess ( ) : int | ||
LookupPrivilegeValue ( string systemName, string name, LUID &pluid ) : bool | ||
OpenProcessToken ( int processHandle, uint desiredAccess, int &tokenHandle ) : bool |
public static ExitSystem ( EWX_ENUM ewx_value ) : void | ||
ewx_value | EWX_ENUM | Set of flags defined in EWX_ENUM |
return | void |