Juan Lang : setupapi: Add stub for SetupDiRegisterDeviceInfo.

Alexandre Julliard julliard at winehq.org
Fri Sep 21 07:23:06 CDT 2007


Module: wine
Branch: master
Commit: 3a2a99474e23c40a0fb302382cec744ecaef7ccc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3a2a99474e23c40a0fb302382cec744ecaef7ccc

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Sep 20 09:15:32 2007 -0700

setupapi: Add stub for SetupDiRegisterDeviceInfo.

---

 dlls/setupapi/devinst.c     |   18 ++++++++++++++++++
 dlls/setupapi/setupapi.spec |    2 +-
 2 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 10bf481..4d06c5c 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -1050,6 +1050,24 @@ BOOL WINAPI SetupDiCreateDeviceInfoW(
 }
 
 /***********************************************************************
+ *		SetupDiRegisterDeviceInfo (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiRegisterDeviceInfo(
+        HDEVINFO DeviceInfoSet,
+        PSP_DEVINFO_DATA DeviceInfoData,
+        DWORD Flags,
+        PSP_DETSIG_CMPPROC CompareProc,
+        PVOID CompareContext,
+        PSP_DEVINFO_DATA DupDeviceInfoData)
+{
+    TRACE("%p %p %08x %p %p %p\n", DeviceInfoSet, DeviceInfoData, Flags,
+            CompareProc, CompareContext, DupDeviceInfoData);
+
+    FIXME("\n");
+    return FALSE;
+}
+
+/***********************************************************************
  *		SetupDiEnumDeviceInfo (SETUPAPI.@)
  */
 BOOL WINAPI SetupDiEnumDeviceInfo(
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 6b93af3..7f8b3dd 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -365,7 +365,7 @@
 @ stdcall SetupDiOpenDeviceInterfaceA(ptr str long ptr)
 @ stub SetupDiOpenDeviceInterfaceRegKey
 @ stdcall SetupDiOpenDeviceInterfaceW(ptr wstr long ptr)
-@ stub SetupDiRegisterDeviceInfo
+@ stdcall SetupDiRegisterDeviceInfo(ptr ptr long ptr ptr ptr)
 @ stub SetupDiRemoveDevice
 @ stub SetupDiRemoveDeviceInterface
 @ stub SetupDiSelectDevice




More information about the wine-cvs mailing list