1 /***********************************************************************\
2 *                              lmconfig.d                               *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *                 Translated from MinGW Windows headers                 *
7 *                                                                       *
8 *                       Placed into public domain                       *
9 \***********************************************************************/
10 module win32.lmconfig;
11 
12 // All functions in this file are deprecated!
13 
14 private import win32.lmcons, win32.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 }