blob: 28d560c537b31423340917879a9604a482c70475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/**
* 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 core/sys/windows/_ntdll.d)
*/
module core.sys.windows.ntdll;
version (Windows):
import core.sys.windows.w32api;
enum SHUTDOWN_ACTION {
ShutdownNoReboot,
ShutdownReboot,
ShutdownPowerOff
}
extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);
|