d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / libphobos / libdruntime / core / sys / windows / lmconfig.d
blob57d3ed938fbd683ab80fc220f2fd1add568095cf
1 /**
2 * Windows API header module
4 * Translated from MinGW Windows headers
6 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
7 * Source: $(DRUNTIMESRC core/sys/windows/_lmconfig.d)
8 */
9 module core.sys.windows.lmconfig;
10 version (Windows):
11 @system:
13 // All functions in this file are deprecated!
15 import core.sys.windows.lmcons, core.sys.windows.windef;
17 deprecated {
18 struct CONFIG_INFO_0 {
19 LPWSTR cfgi0_key;
20 LPWSTR cfgi0_data;
23 alias CONFIG_INFO_0* PCONFIG_INFO_0, LPCONFIG_INFO_0;
25 extern (Windows) {
26 NET_API_STATUS NetConfigGet(LPCWSTR, LPCWSTR, LPCWSTR, PBYTE*);
27 NET_API_STATUS NetConfigGetAll(LPCWSTR, LPCWSTR, PBYTE*);
28 NET_API_STATUS NetConfigSet(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, DWORD,
29 PBYTE, DWORD);