SETUPAPI: stub implementation for SetupDiOpenDeviceInterface

Mike McCormack mike at codeweavers.com
Mon Dec 6 01:31:58 CST 2004


ChangeLog:
* stub implementation for SetupDiOpenDeviceInterface
-------------- next part --------------
Index: dlls/setupapi/devinst.c
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/devinst.c,v
retrieving revision 1.16
diff -u -r1.16 devinst.c
--- dlls/setupapi/devinst.c	7 Oct 2003 22:51:09 -0000	1.16
+++ dlls/setupapi/devinst.c	6 Dec 2004 08:20:14 -0000
@@ -147,3 +147,31 @@
         RequiredSize);
     return FALSE;
 }
+
+/***********************************************************************
+ *		SetupDiOpenDeviceInterfaceA (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiOpenDeviceInterfaceW(
+       HDEVINFO DeviceInfoSet,
+       PCWSTR DevicePath,
+       DWORD OpenFlags,
+       PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
+{
+    FIXME("%p %s %08lx %p\n",
+        DeviceInfoSet, debugstr_w(DevicePath), OpenFlags, DeviceInterfaceData);
+    return FALSE;
+}
+
+/***********************************************************************
+ *		SetupDiOpenDeviceInterfaceA (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiOpenDeviceInterfaceA(
+       HDEVINFO DeviceInfoSet,
+       PCSTR DevicePath,
+       DWORD OpenFlags,
+       PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
+{
+    FIXME("%p %s %08lx %p\n", DeviceInfoSet,
+        debugstr_a(DevicePath), OpenFlags, DeviceInterfaceData);
+    return FALSE;
+}
Index: dlls/setupapi/setupapi.spec
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/setupapi.spec,v
retrieving revision 1.29
diff -u -r1.29 setupapi.spec
--- dlls/setupapi/setupapi.spec	7 May 2004 00:40:44 -0000	1.29
+++ dlls/setupapi/setupapi.spec	6 Dec 2004 08:20:14 -0000
@@ -359,9 +359,9 @@
 @ stub SetupDiOpenDevRegKey
 @ stub SetupDiOpenDeviceInfoA
 @ stub SetupDiOpenDeviceInfoW
-@ stub SetupDiOpenDeviceInterfaceA
+@ stdcall SetupDiOpenDeviceInterfaceA(ptr str long ptr)
 @ stub SetupDiOpenDeviceInterfaceRegKey
-@ stub SetupDiOpenDeviceInterfaceW
+@ stdcall SetupDiOpenDeviceInterfaceW(ptr wstr long ptr)
 @ stub SetupDiRegisterDeviceInfo
 @ stub SetupDiRemoveDevice
 @ stub SetupDiRemoveDeviceInterface


More information about the wine-patches mailing list