[1/2] setupapi: Add a stub implementation of SetupDiRemoveDeviceInterface.

Hans Leidekker hans at codeweavers.com
Wed Dec 7 04:03:00 CST 2016


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/setupapi/devinst.c     | 10 ++++++++++
 dlls/setupapi/setupapi.spec |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index ef1a6b7..63e578c 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -1561,6 +1561,16 @@ BOOL WINAPI SetupDiRemoveDevice(
 }
 
 /***********************************************************************
+ *              SetupDiRemoveDeviceInterface (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO info, PSP_DEVICE_INTERFACE_DATA data)
+{
+    FIXME("(%p, %p): stub\n", info, data);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+/***********************************************************************
  *		SetupDiEnumDeviceInfo (SETUPAPI.@)
  */
 BOOL WINAPI SetupDiEnumDeviceInfo(
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index da6bf5d..0eb8359 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -381,7 +381,7 @@
 @ stdcall SetupDiOpenDeviceInterfaceW(ptr wstr long ptr)
 @ stdcall SetupDiRegisterDeviceInfo(ptr ptr long ptr ptr ptr)
 @ stdcall SetupDiRemoveDevice(ptr ptr)
-@ stub SetupDiRemoveDeviceInterface
+@ stdcall SetupDiRemoveDeviceInterface(ptr ptr)
 @ stdcall SetupDiSelectBestCompatDrv(ptr ptr)
 @ stub SetupDiSelectDevice
 @ stub SetupDiSelectOEMDrv
-- 
2.1.4




More information about the wine-patches mailing list