Add some missing constants and prototypes related to setupapi/cfgmgr
Modified: trunk/reactos/include/wine/cfgmgr32.h
Modified: trunk/reactos/include/wine/setupapi.h
_____
Modified: trunk/reactos/include/wine/cfgmgr32.h
--- trunk/reactos/include/wine/cfgmgr32.h 2005-07-03 09:39:11 UTC
(rev 16387)
+++ trunk/reactos/include/wine/cfgmgr32.h 2005-07-03 10:33:51 UTC
(rev 16388)
@@ -38,7 +38,10 @@
#define CR_SUCCESS 0x00000000
#define CR_OUT_OF_MEMORY 0x00000002
+#define CR_FAILURE 0x00000013
+#define CR_BUFFER_SMALL 0x0000001A
#define CR_INVALID_DATA 0x0000001F
+#define CR_NO_SUCH_VALUE 0x00000025
#define CR_INVALID_MACHINENAME 0x0000002F
#define CR_ACCESS_DENIED 0x00000033
@@ -52,7 +55,8 @@
#define CM_Connect_Machine WINELIB_NAME_AW(CM_Connect_Machine)
CONFIGRET WINAPI CM_Disconnect_Machine( HMACHINE );
-
+CONFIGRET WINAPI CM_Enumerate_Classes( ULONG, LPGUID, ULONG );
+CONFIGRET WINAPI CM_Enumerate_Classes_Ex( ULONG, LPGUID, ULONG,
HMACHINE );
CONFIGRET WINAPI CM_Get_Child( PDEVINST, DEVINST, ULONG );
CONFIGRET WINAPI CM_Get_Child_Ex( PDEVINST, DEVINST, ULONG, HMACHINE );
CONFIGRET WINAPI CM_Get_Device_ID_ListA( PCSTR, PCHAR, ULONG, ULONG );
_____
Modified: trunk/reactos/include/wine/setupapi.h
--- trunk/reactos/include/wine/setupapi.h 2005-07-03 09:39:11 UTC
(rev 16387)
+++ trunk/reactos/include/wine/setupapi.h 2005-07-03 10:33:51 UTC
(rev 16388)
@@ -720,6 +720,9 @@
BOOL WINAPI SetupDiClassNameFromGuidExA(const GUID*, PSTR, DWORD,
PDWORD, PCSTR, PVOID);
BOOL WINAPI SetupDiClassNameFromGuidExW(const GUID*, PWSTR, DWORD,
PDWORD, PCWSTR, PVOID);
#define SetupDiClassNameFromGuidEx
WINELIB_NAME_AW(SetupDiClassNameFromGuidEx)
+BOOL WINAPI
SetupDiCreateDeviceInfoA(HDEVINFO,PCSTR,LPGUID,PCSTR,HWND,DWORD,PSP_DEVI
NFO_DATA);
+BOOL WINAPI
SetupDiCreateDeviceInfoW(HDEVINFO,PCWSTR,LPGUID,PCWSTR,HWND,DWORD,PSP_DE
VINFO_DATA);
+#define SetupDiCreateDeviceInfo
WINELIB_NAME_AW(SetupDiCreateDeviceInfo)
HDEVINFO WINAPI SetupDiCreateDeviceInfoList(const GUID *, HWND);
HDEVINFO WINAPI SetupDiCreateDeviceInfoListExA(const GUID *, HWND,
PCSTR, PVOID);
HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(const GUID *, HWND,
PCWSTR, PVOID);