Damjan Jovanovic : setupapi: Stub out SetupDiRemoveDevice.

Alexandre Julliard julliard at winehq.org
Mon Mar 15 12:19:40 CDT 2010


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

Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date:   Sat Mar 13 14:16:01 2010 +0200

setupapi: Stub out SetupDiRemoveDevice.

---

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

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index ec586e7..31269ff 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -1556,6 +1556,18 @@ BOOL WINAPI SetupDiRegisterDeviceInfo(
 }
 
 /***********************************************************************
+ *              SetupDiRemoveDevice (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiRemoveDevice(
+        HDEVINFO devinfo,
+        PSP_DEVINFO_DATA info)
+{
+    FIXME("(%p, %p): stub\n", devinfo, info);
+    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 51a5c2e..5532aaa 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -375,7 +375,7 @@
 @ stub SetupDiOpenDeviceInterfaceRegKey
 @ stdcall SetupDiOpenDeviceInterfaceW(ptr wstr long ptr)
 @ stdcall SetupDiRegisterDeviceInfo(ptr ptr long ptr ptr ptr)
-@ stub SetupDiRemoveDevice
+@ stdcall SetupDiRemoveDevice(ptr ptr)
 @ stub SetupDiRemoveDeviceInterface
 @ stub SetupDiSelectDevice
 @ stub SetupDiSelectOEMDrv




More information about the wine-cvs mailing list