Differences From Artifact [ceb5b518aee9d6cf]:
- File
src/win32/secext.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 [4ff4b2ce63f9b1ac]:
- File
src/win32/secext.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 6 * Translated from MinGW Windows headers *
7 7 * *
8 8 * Placed into public domain *
9 9 \***********************************************************************/
10 10 // Don't include this file directly, use win32.security instead.
11 11 module win32.secext;
12 -pragma(lib, "secur32.lib");
12 +pragma(lib, "secur32");
13 13
14 14 private import win32.w32api, win32.windef;
15 15
16 -static assert (_WIN32_WINNT >= 0x0501,
16 +static assert (_WIN32_WINNT >= 0x501,
17 17 "SecExt is only available on WindowsXP and later");
18 18
19 19 enum EXTENDED_NAME_FORMAT {
20 20 NameUnknown,
21 21 NameFullyQualifiedDN,
22 22 NameSamCompatible,
23 23 NameDisplay, // = 3