Diff

Not logged in

Differences From Artifact [5b08a7cec4ddc80a]:

To Artifact [756e171c35e05b4a]:


8 8 * * 9 9 * Placed into public domain * 10 10 \***********************************************************************/ 11 11 module win32.ntdll; 12 12 13 13 private import win32.w32api; 14 14 15 -// http://www.matcode.com/undocwin.h.txt 16 -static assert (_WIN32_WINNT_ONLY, 17 - "win32.ntdll is available only if version WindowsNTonly, WindowsXP, " 18 - "Windows2003 or WindowsVista is set"); 19 - 20 15 21 16 enum SHUTDOWN_ACTION { 22 17 ShutdownNoReboot, 23 18 ShutdownReboot, 24 19 ShutdownPowerOff 25 20 } 26 21 27 22 extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);