d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / libphobos / libdruntime / core / sys / windows / ntdll.d
blob4ac1bcccbb9888f468b134adfad063ffd4681707
1 /**
2 * Windows API header module
4 * Translated from MinGW API for MS-Windows 3.10
6 * Authors: Stewart Gordon
7 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
8 * Source: $(DRUNTIMESRC core/sys/windows/_ntdll.d)
9 */
10 module core.sys.windows.ntdll;
11 version (Windows):
12 @system:
14 import core.sys.windows.w32api;
17 enum SHUTDOWN_ACTION {
18 ShutdownNoReboot,
19 ShutdownReboot,
20 ShutdownPowerOff
23 extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);