Differences From Artifact [eb215384d5061fbb]:
- File
src/win32/lmaccess.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 [41a90d8230b33423]:
- File
src/win32/lmaccess.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 4 * Windows API header module *
5 5 * *
6 6 * Translated from MinGW Windows headers *
7 7 * *
8 8 * Placed into public domain *
9 9 \***********************************************************************/
10 10 module win32.lmaccess;
11 -pragma(lib, "netapi32.lib");
11 +pragma(lib, "netapi32");
12 12
13 13 /**
14 14 Changes relative to MinGW:
15 15 USER_POSIX_ID_PARMNUM and GROUP_POSIX_ID_PARMNUM aren't in MinGW or in
16 16 the Platform SDK docs, so they have been dropped from this file.
17 17 */
18 18
................................................................................
347 347 LPWSTR usri20_comment;
348 348 DWORD usri20_flags;
349 349 DWORD usri20_user_id;
350 350 }
351 351 alias USER_INFO_20* PUSER_INFO_20, LPUSER_INFO_20;
352 352
353 353 struct USER_INFO_21 {
354 - BYTE usri21_password[ENCRYPTED_PWLEN];
354 + BYTE[ENCRYPTED_PWLEN] usri21_password;
355 355 }
356 356 alias USER_INFO_21* PUSER_INFO_21, LPUSER_INFO_21;
357 357
358 358 struct USER_INFO_22{
359 359 LPWSTR usri22_name;
360 - BYTE usri22_password[ENCRYPTED_PWLEN];
360 + BYTE[ENCRYPTED_PWLEN] usri22_password;
361 361 DWORD usri22_password_age;
362 362 DWORD usri22_priv;
363 363 LPWSTR usri22_home_dir;
364 364 LPWSTR usri22_comment;
365 365 DWORD usri22_flags;
366 366 LPWSTR usri22_script_path;
367 367 DWORD usri22_auth_flags;