Mercurial > projects > ddbg_continued
view 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 |
line wrap: on
line source
/***********************************************************************\ * lmconfig.d * * * * Windows API header module * * * * Translated from MinGW Windows headers * * * * Placed into public domain * \***********************************************************************/ module win32.lmconfig; // All functions in this file are deprecated! private import win32.lmcons, win32.windef; deprecated { struct CONFIG_INFO_0 { LPWSTR cfgi0_key; LPWSTR cfgi0_data; } alias CONFIG_INFO_0* PCONFIG_INFO_0, LPCONFIG_INFO_0; extern (Windows) { NET_API_STATUS NetConfigGet(LPCWSTR, LPCWSTR, LPCWSTR, PBYTE*); NET_API_STATUS NetConfigGetAll(LPCWSTR, LPCWSTR, PBYTE*); NET_API_STATUS NetConfigSet(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, DWORD, PBYTE, DWORD); } }