mirror of git://gcc.gnu.org/git/gcc.git
23 lines
498 B
D
23 lines
498 B
D
/**
|
|
* Windows API header module
|
|
*
|
|
* Translated from MinGW API for MS-Windows 3.10
|
|
*
|
|
* Authors: Stewart Gordon
|
|
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
|
|
* Source: $(DRUNTIMESRC src/core/sys/windows/_ntdll.d)
|
|
*/
|
|
module core.sys.windows.ntdll;
|
|
version (Windows):
|
|
|
|
private import core.sys.windows.w32api;
|
|
|
|
|
|
enum SHUTDOWN_ACTION {
|
|
ShutdownNoReboot,
|
|
ShutdownReboot,
|
|
ShutdownPowerOff
|
|
}
|
|
|
|
extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);
|