mirror of https://github.com/buggins/dlangui.git
24 lines
954 B
D
24 lines
954 B
D
/***********************************************************************\
|
|
* ntdll.d *
|
|
* *
|
|
* Windows API header module *
|
|
* *
|
|
* Translated from MinGW API for MS-Windows 3.10 *
|
|
* by Stewart Gordon *
|
|
* *
|
|
* Placed into public domain *
|
|
\***********************************************************************/
|
|
module win32.ntdll;
|
|
version(Windows):
|
|
|
|
private import win32.w32api;
|
|
|
|
|
|
enum SHUTDOWN_ACTION {
|
|
ShutdownNoReboot,
|
|
ShutdownReboot,
|
|
ShutdownPowerOff
|
|
}
|
|
|
|
extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);
|