1 /** 2 * Windows API header module 3 * 4 * Translated from MinGW Windows headers 5 * 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: 12 13 // All functions in this file are deprecated! 14 15 import core.sys.windows.lmcons, core.sys.windows.windef; 16 17 deprecated { 18 struct CONFIG_INFO_0 { 19 LPWSTR cfgi0_key; 20 LPWSTR cfgi0_data; 21 } 22 23 alias CONFIG_INFO_0* PCONFIG_INFO_0, LPCONFIG_INFO_0; 24 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); 30 } 31 } 32