Mercurial > projects > ddbg_continued
comparison win32/lmconfig.d @ 1:4a9dcbd9e54f
-files of 0.13 beta
-fixes so that it now compiles with the current dmd version
author | marton@basel.hu |
---|---|
date | Tue, 05 Apr 2011 20:44:01 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:586e4a649642 | 1:4a9dcbd9e54f |
---|---|
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 } |