| 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 |
|
| 12 |
// All functions in this file are deprecated! |
| 13 |
|
| 14 |
import core.sys.windows.lmcons, core.sys.windows.windef; |
| 15 |
|
| 16 |
deprecated { |
| 17 |
struct CONFIG_INFO_0 { |
| 18 |
LPWSTR cfgi0_key; |
| 19 |
LPWSTR cfgi0_data; |
| 20 |
} |
| 21 |
|
| 22 |
alias CONFIG_INFO_0* PCONFIG_INFO_0, LPCONFIG_INFO_0; |
| 23 |
|
| 24 |
extern (Windows) { |
| 25 |
NET_API_STATUS NetConfigGet(LPCWSTR, LPCWSTR, LPCWSTR, PBYTE*); |
| 26 |
NET_API_STATUS NetConfigGetAll(LPCWSTR, LPCWSTR, PBYTE*); |
| 27 |
NET_API_STATUS NetConfigSet(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, DWORD, |
| 28 |
PBYTE, DWORD); |
| 29 |
} |
| 30 |
} |