Artifact 756e171c35e05b4a7e00337da422bc845c2074c9
- File
src/win32/ntdll.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
/***********************************************************************\ * ntdll.d * * * * Windows API header module * * * * Translated from MinGW API for MS-Windows 3.10 * * by Stewart Gordon * * * * Placed into public domain * \***********************************************************************/ module win32.ntdll; private import win32.w32api; enum SHUTDOWN_ACTION { ShutdownNoReboot, ShutdownReboot, ShutdownPowerOff } extern (Windows) uint NtShutdownSystem(SHUTDOWN_ACTION Action);