https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8687529bdf85d7654e5e5cf06d02bab631f89279

commit 8687529bdf85d7654e5e5cf06d02bab631f89279
Author:     Eric Kohl <[email protected]>
AuthorDate: Sat Feb 2 15:13:35 2019 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Sat Feb 2 15:13:35 2019 +0100

    [SETUPAPI] Add a stub for SetupDiDeleteDeviceInterfaceData to make the wine 
tests work.
---
 dll/win32/setupapi/interface.c   | 14 ++++++++++++++
 dll/win32/setupapi/setupapi.spec |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/dll/win32/setupapi/interface.c b/dll/win32/setupapi/interface.c
index 172d045018..f080d51828 100644
--- a/dll/win32/setupapi/interface.c
+++ b/dll/win32/setupapi/interface.c
@@ -627,3 +627,17 @@ SetupDiOpenDeviceInterfaceRegKey(
 
     return hKey;
 }
+
+/***********************************************************************
+ *             SetupDiDeleteDeviceInterfaceData (SETUPAPI.@)
+ */
+BOOL
+WINAPI
+SetupDiDeleteDeviceInterfaceData(
+    HDEVINFO DeviceInfoSet,
+    PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
+{
+    FIXME("SetupDiDeleteDeviceInterfaceData(%p %p) stub\n",
+          DeviceInfoSet, DeviceInterfaceData);
+    return TRUE;
+}
diff --git a/dll/win32/setupapi/setupapi.spec b/dll/win32/setupapi/setupapi.spec
index 99de0fca82..bfe00fa114 100644
--- a/dll/win32/setupapi/setupapi.spec
+++ b/dll/win32/setupapi/setupapi.spec
@@ -281,7 +281,7 @@
 @ stdcall SetupDiCreateDeviceInterfaceW(ptr ptr ptr wstr long ptr)
 @ stdcall SetupDiDeleteDevRegKey(ptr ptr long long long)
 @ stdcall SetupDiDeleteDeviceInfo(long ptr)
-@ stub SetupDiDeleteDeviceInterfaceData
+@ stdcall SetupDiDeleteDeviceInterfaceData(ptr ptr)
 @ stdcall SetupDiDeleteDeviceInterfaceRegKey(ptr ptr long)
 @ stdcall SetupDiDestroyClassImageList(ptr)
 @ stdcall SetupDiDestroyDeviceInfoList(long)

Reply via email to