1 /** 2 * Windows API header module 3 * 4 * Translated from MinGW API for MS-Windows 3.10 5 * 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: 13 14 import core.sys.windows.w32api; 15 16 17 enum SHUTDOWN_ACTION { 18 ShutdownNoReboot, 19 ShutdownReboot, 20 ShutdownPowerOff 21 } 22 23 extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action); 24