diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/win32/lmconfig.d	Tue Apr 05 20:44:01 2011 +0200
@@ -0,0 +1,30 @@
+/***********************************************************************\
+*                              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);
+	}
+}