root/trunk/win32/ntdll.d

Revision 204, 1.1 kB (checked in by smjg, 5 years ago)

Started the MinGW 3.10 ball rolling. Filled in a few odd enum types

  • Property svn:eol-style set to native
Line 
1 /***********************************************************************\
2 *                                ntdll.d                                *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *             Translated from MinGW API for MS-Windows 3.10             *
7 *                           by Stewart Gordon                           *
8 *                                                                       *
9 *                       Placed into public domain                       *
10 \***********************************************************************/
11 module win32.ntdll;
12
13 private import win32.w32api;
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
21 enum SHUTDOWN_ACTION {
22     ShutdownNoReboot,
23     ShutdownReboot,
24     ShutdownPowerOff
25 }
26
27 extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);
Note: See TracBrowser for help on using the browser.