SetupDiGetClassDevsW stub
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Wed Oct 9 17:12:01 CDT 2002
>>>>> "steve" == steve lustbader <steve.lustbader at philips.com> writes:
steve> ChangeLog: Provide stub for SetupDiGetClassDevsW Fix return type
steve> of SetupDiGetClassDevsA
There are more stubs in my tree
Changelog:
wine/dlls/setupapi/setupapi.spec stubs.c
More stubs
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/setupapi/setupapi.spec
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/setupapi.spec,v
retrieving revision 1.16
diff -u -r1.16 setupapi.spec
--- wine/dlls/setupapi/setupapi.spec 21 Jun 2002 19:15:49 -0000 1.16
+++ wine/dlls/setupapi/setupapi.spec 9 Oct 2002 22:09:17 -0000
@@ -301,3 +301,24 @@
@ stub pSetupIsGuidNull
@ stub pSetupMakeSurePathExists
@ stub pSetupStringFromGuid
+
+@ stdcall SetupDiOpenClassRegKeyExW(ptr long long wstr ptr) SetupDiOpenClassRegKeyExW
+@ stdcall SetupDiGetClassDescriptionExW(ptr ptr long ptr wstr ptr) SetupDiGetClassDescriptionExW
+@ stdcall SetupDiClassNameFromGuidExW(ptr ptr long ptr wstr ptr) SetupDiClassNameFromGuidExW
+@ stdcall SetupDiBuildClassInfoListExW(long ptr long ptr wstr ptr) SetupDiBuildClassInfoListExW
+@ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr) SetupDiGetDeviceInfoListDetailW
+@ stdcall SetupDiCreateDeviceInfoListExW(ptr ptr) SetupDiCreateDeviceInfoListExW
+@ stdcall SetupDiGetClassDevsExW(ptr wstr ptr long ptr wstr ptr) SetupDiGetClassDevsExW
+@ stdcall SetupDiClassGuidsFromNameExW(wstr ptr long ptr wstr ptr) SetupDiClassGuidsFromNameExW
+@ stdcall CM_Connect_MachineW(wstr ptr) CM_Connect_MachineW
+@ stdcall CM_Disconnect_Machine(long) CM_Disconnect_Machine
+@ stub CM_Reenumerate_DevNode_Ex
+@ stub CM_Locate_DevNode_ExW
+@ stub CM_Free_Log_Conf_Handle
+@ stub CM_Get_Next_Res_Des_Ex
+@ stub CM_Free_Res_Des_Handle
+@ stub CM_Get_Res_Des_Data_Size_Ex
+@ stub CM_Get_Device_ID_ExW
+@ stub CM_Get_DevNode_Status_Ex
+@ stub CM_Get_Res_Des_Data_Ex
+@ stub CM_Get_First_Log_Conf_Ex
\ No newline at end of file
Index: wine/dlls/setupapi/stubs.c
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/stubs.c,v
retrieving revision 1.8
diff -u -r1.8 stubs.c
--- wine/dlls/setupapi/stubs.c 31 May 2002 23:25:51 -0000 1.8
+++ wine/dlls/setupapi/stubs.c 9 Oct 2002 22:09:17 -0000
@@ -64,3 +64,62 @@
FIXME( "%x %x: stub\n", w1, w2 );
return 0;
}
+
+/*WINAPI in description not given*/
+HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID class, DWORD access, DWORD flags, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return INVALID_HANDLE_VALUE;
+}
+
+BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return FALSE;
+}
+
+BOOL WINAPI SetupDiClassNameFromGuidExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return FALSE;
+}
+
+BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return FALSE;
+}
+BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA devinfo_data )
+{
+ FIXME("\n");
+ return FALSE;
+}
+HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID class, HWND parend, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return FALSE;
+}
+/* NO WINAPI in description given*/
+HDEVINFO WINAPI SetupDiGetClassDevsExW(LPGUID class, LPCWSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return FALSE;
+}
+BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR class, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
+{
+ FIXME("\n");
+ return FALSE;
+}
+DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine)
+{
+#define CR_SUCCESS 0x00000000
+#define CR_ACCESS_DENIED 0x00000033
+ FIXME("\n");
+ return CR_ACCESS_DENIED;
+}
+DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
+{
+ FIXME("\n");
+ return CR_SUCCESS;
+
+}
More information about the wine-patches
mailing list