Differences From Artifact [366f8fb859c9c947]:
- File
src/win32/lmstats.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 [0b642be89bc8d9dc]:
- File
src/win32/lmstats.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.
4 * Windows API header module * 4 * Windows API header module *
5 * * 5 * *
6 * Translated from MinGW Windows headers * 6 * Translated from MinGW Windows headers *
7 * * 7 * *
8 * Placed into public domain * 8 * Placed into public domain *
9 \***********************************************************************/ 9 \***********************************************************************/
10 module win32.lmstats; 10 module win32.lmstats;
11 pragma(lib, "netapi32.lib"); | 11 pragma(lib, "netapi32");
12 12
13 private import win32.lmcons, win32.windef; 13 private import win32.lmcons, win32.windef;
14 14
15 const ULONG 15 const ULONG
16 STATSOPT_CLR = 1, 16 STATSOPT_CLR = 1,
17 STATS_NO_VALUE = -1, 17 STATS_NO_VALUE = -1,
18 STATS_OVERFLOW = -2; 18 STATS_OVERFLOW = -2;