Differences From Artifact [db10623ed83eba41]:
- File
src/win32/powrprof.d
- 2015-04-21 10:46:55 - part of checkin [4e2933c620] on branch trunk - Rebased to the latest verson dmd 2.067. Not yet verified the outcome. (user: kinaba) [annotate]
To Artifact [4256acef1917a8cc]:
- File
src/win32/powrprof.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.
5 * * 5 * *
6 * Translated from MinGW Windows headers * 6 * Translated from MinGW Windows headers *
7 * by Stewart Gordon * 7 * by Stewart Gordon *
8 * * 8 * *
9 * Placed into public domain * 9 * Placed into public domain *
10 \***********************************************************************/ 10 \***********************************************************************/
11 module win32.powrprof; 11 module win32.powrprof;
12 pragma(lib, "powrprof.lib"); | 12 pragma(lib, "powrprof");
13 13
14 private import win32.windef; 14 private import win32.windef;
15 private import win32.ntdef; 15 private import win32.ntdef;
16 16
17 // FIXME: look up Windows version support 17 // FIXME: look up Windows version support
18 18
19 const ULONG 19 const ULONG