setupapi: add CM_Get_Device_Interface_List(A/W) stubs (2/2)

Austin English austinenglish at gmail.com
Mon Feb 3 04:14:20 CST 2014


-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140203/e4a9c192/attachment.html>
-------------- next part --------------
From fe59e332311092a5ff86f2a06f7693762f119286 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Mon, 3 Feb 2014 02:05:37 -0800
Subject: [PATCH 2/2] setupapi: add CM_Get_Device_Interface_List(A/W) stubs

---
 dlls/setupapi/setupapi.spec |  4 ++--
 dlls/setupapi/stubs.c       | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index edad156..a0c2a61 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -91,8 +91,8 @@
 @ stub CM_Get_Device_Interface_AliasW
 @ stub CM_Get_Device_Interface_Alias_ExA
 @ stub CM_Get_Device_Interface_Alias_ExW
-@ stub CM_Get_Device_Interface_ListA
-@ stub CM_Get_Device_Interface_ListW
+@ stdcall CM_Get_Device_Interface_ListA(str str ptr long long)
+@ stdcall CM_Get_Device_Interface_ListW(wstr wstr ptr long long)
 @ stub CM_Get_Device_Interface_List_ExA
 @ stub CM_Get_Device_Interface_List_ExW
 @ stdcall CM_Get_Device_Interface_List_SizeA(ptr str ptr long)
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 1b4008b..657f10d 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -143,6 +143,26 @@ CONFIGRET WINAPI CM_Get_Device_ID_List_SizeW( PULONG  pulLen, PCWSTR  pszFilter,
 }
 
 /***********************************************************************
+ *             CM_Get_Device_Interface_ListA (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Device_Interface_ListA( LPGUID interface_class_guid, DEVINSTID_A device_id, PCHAR buffer, ULONG buffer_len, ULONG flags )
+{
+    FIXME("%s %s %p %d 0x%08x: stub\n", debugstr_guid(interface_class_guid), debugstr_a(device_id), buffer, buffer_len, flags);
+
+    return CR_SUCCESS;
+}
+
+/***********************************************************************
+ *             CM_Get_Device_Interface_ListW (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Device_Interface_ListW( LPGUID interface_class_guid, DEVINSTID_W device_id, PWCHAR buffer, ULONG buffer_len, ULONG flags )
+{
+    FIXME("%s %s %p %d 0x%08x: stub\n", debugstr_guid(interface_class_guid), debugstr_w(device_id), buffer, buffer_len, flags);
+
+    return CR_SUCCESS;
+}
+
+/***********************************************************************
  *             CM_Get_Device_Interface_List_SizeA (SETUPAPI.@)
  */
 CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeA( PULONG len, LPGUID interface_class_guid, DEVINSTID_A device_id, ULONG flags )
-- 
1.8.3.1



More information about the wine-patches mailing list