Differences From Artifact [a830d940c9e9f1c6]:
- File
src/win32/lmwksta.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 [ebe621a9a42758b0]:
- File
src/win32/lmwksta.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.lmwksta; 10 module win32.lmwksta;
11 pragma(lib, "netapi32.lib"); | 11 pragma(lib, "netapi32");
12 12
13 import win32.lmuseflg; 13 import win32.lmuseflg;
14 private import win32.lmcons, win32.windef; 14 private import win32.lmcons, win32.windef;
15 15
16 pragma(lib, "Netapi32.lib"); | 16 pragma(lib, "Netapi32");
17 17
18 enum { 18 enum {
19 WKSTA_COMPUTERNAME_PARMNUM = 1, 19 WKSTA_COMPUTERNAME_PARMNUM = 1,
20 WKSTA_LANGROUP_PARMNUM, // = 2 20 WKSTA_LANGROUP_PARMNUM, // = 2
21 WKSTA_VER_MAJOR_PARMNUM = 4, 21 WKSTA_VER_MAJOR_PARMNUM = 4,
22 WKSTA_VER_MINOR_PARMNUM, 22 WKSTA_VER_MINOR_PARMNUM,
23 WKSTA_LOGGED_ON_USERS_PARMNUM, 23 WKSTA_LOGGED_ON_USERS_PARMNUM,