Artifact c4320c24efe6d18e6dcb6d4a44111bb5e4885d32
- File
src/win32/lmconfig.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.
/***********************************************************************\
* lmconfig.d *
* *
* Windows API header module *
* *
* Translated from MinGW Windows headers *
* *
* Placed into public domain *
\***********************************************************************/
module win32.lmconfig;
// All functions in this file are deprecated!
private import win32.lmcons, win32.windef;
deprecated {
struct CONFIG_INFO_0 {
LPWSTR cfgi0_key;
LPWSTR cfgi0_data;
}
alias CONFIG_INFO_0* PCONFIG_INFO_0, LPCONFIG_INFO_0;
extern (Windows) {
NET_API_STATUS NetConfigGet(LPCWSTR, LPCWSTR, LPCWSTR, PBYTE*);
NET_API_STATUS NetConfigGetAll(LPCWSTR, LPCWSTR, PBYTE*);
NET_API_STATUS NetConfigSet(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, DWORD,
PBYTE, DWORD);
}
}