setupapi: Stub SetupDiDestroyDriverInfoList.

Vincent Povirk madewokherd at gmail.com
Mon Jan 27 13:15:02 CST 2014


-------------- next part --------------
From b4ecd6734931bb6eeabf8844db5281ebb1247d06 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Mon, 27 Jan 2014 13:12:41 -0600
Subject: [PATCH] setupapi: Stub SetupDiDestroyDriverInfoList.

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

diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 16cd339..4349055 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -307,7 +307,7 @@
 @ stub SetupDiDeleteDeviceRegKey
 @ stdcall SetupDiDestroyClassImageList(ptr)
 @ stdcall SetupDiDestroyDeviceInfoList(long)
-@ stub SetupDiDestroyDriverInfoList
+@ stdcall SetupDiDestroyDriverInfoList(ptr ptr long)
 @ stdcall SetupDiDrawMiniIcon(ptr int128 long long)
 @ stdcall SetupDiEnumDeviceInfo(long long ptr)
 @ stdcall SetupDiEnumDeviceInterfaces(long ptr ptr long ptr)
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 76dc410..fad9d23 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -525,6 +525,18 @@ BOOL WINAPI SetupDiBuildDriverInfoList(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA
  }
 
 /***********************************************************************
+ *              SetupDiDestroyDriverInfoList  (SETUPAPI.@)
+ */
+
+BOOL WINAPI SetupDiDestroyDriverInfoList(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD DriverType)
+{
+    FIXME("%p %p %d\n", DeviceInfoSet, DeviceInfoData, DriverType);
+
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+/***********************************************************************
  *              SetupDiDeleteDeviceInfo  (SETUPAPI.@)
  */
 
-- 
1.8.1.2



More information about the wine-patches mailing list