Method | Description | |
---|---|---|
FindWindow ( string className ) : |
||
GetIconForWindow ( |
||
GetWindowRectangle ( |
||
Logoff ( ) : void |
Calls the logoff method on the Win32 API.
|
|
PostWindowsMessage ( |
||
Reboot ( ) : void |
Calls the reboot method on the Win32 API.
|
|
Shutdown ( ) : void |
Calls the shutdown method on the Win32 API.
|
|
Sleep ( ) : void |
Calls the Sleep method on the Win32 Power Profile API.
|
Method | Description | |
---|---|---|
AdjustTokenPrivileges ( |
||
AdjustTokenPrivilegesForShutdown ( ) : void |
Adjusts the current process's token privileges to allow it to shut down or reboot the machine. Throws an ApplicationException if an error is encountered.
|
|
BringWindowToTop ( |
||
CloseHandle ( |
||
CreateWindowEx ( int dwExStyle, string lpClassName, string lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, |
||
DeregisterShellHookWindow ( |
||
ExitWindowsEx ( uint flags, uint reason ) : bool | ||
FindWindow ( string className, string windowName ) : |
||
GetClassLong ( |
||
GetDesktopWindow ( ) : |
||
GetModuleHandle ( string filename ) : |
||
GetSystemMetrics ( int Index ) : int | ||
GetWindowRect ( |
||
LookupPrivilegeValue ( string host, string name, long &pluid ) : bool | ||
MoveWindow ( |
||
OpenEvent ( |
||
OpenProcessToken ( |
||
PostMessage ( |
||
RegisterClassEx ( WNDCLASSEX &pcWndClassEx ) : int | ||
RegisterHotKey ( |
||
RegisterShellHook ( |
||
RegisterShellHookWindow ( |
||
RegisterWindowMessage ( string msg ) : int | ||
SHAppBarMessage ( int dwMessage, APPBARDATA &pData ) : uint | ||
SendMessage ( |
||
SendMessageTimeout ( |
||
SetEvent ( |
||
SetShellWindow ( |
||
SetSuspendState ( bool hibernate, bool forceCritical, bool disableWakeEvent ) : bool | ||
SetTaskmanWindow ( |
||
SetWindowPos ( |
||
SystemParametersInfo ( SPI uiAction, uint uiParam, |
||
UnregisterClass ( string lpClassname, |
||
UnregisterHotKey ( |
public static FindWindow ( string className ) : |
||
className | string | |
return |
public static GetIconForWindow ( |
||
HWnd | ||
return | uint |
public static GetWindowRectangle ( |
||
windowHandle | ||
return | RECT |
public static PostWindowsMessage ( |
||
hWnd | ||
callback | uint | |
uid | uint | |
messageId | uint | |
return | void |