=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: setupapi: Add stubs for CM_Get_Device_Interface_List_SizeA/W.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 8 14:09:28 CDT 2014


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Oct  7 21:27:27 2014 +0200

setupapi: Add stubs for CM_Get_Device_Interface_List_SizeA/W.

---

 dlls/cfgmgr32/cfgmgr32.spec |  4 ++--
 dlls/setupapi/setupapi.spec |  4 ++--
 dlls/setupapi/stubs.c       | 20 ++++++++++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec
index e38f720..f442157 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -84,8 +84,8 @@
 @ stub CM_Get_Device_Interface_ListW
 @ stub CM_Get_Device_Interface_List_ExA
 @ stub CM_Get_Device_Interface_List_ExW
-@ stub CM_Get_Device_Interface_List_SizeA
-@ stub CM_Get_Device_Interface_List_SizeW
+@ stdcall CM_Get_Device_Interface_List_SizeA(ptr ptr str long) setupapi.CM_Get_Device_Interface_List_SizeA
+@ stdcall CM_Get_Device_Interface_List_SizeW(ptr ptr wstr long) setupapi.CM_Get_Device_Interface_List_SizeW
 @ stdcall CM_Get_Device_Interface_List_Size_ExA(ptr ptr str long ptr) setupapi.CM_Get_Device_Interface_List_Size_ExA
 @ stdcall CM_Get_Device_Interface_List_Size_ExW(ptr ptr wstr long ptr) setupapi.CM_Get_Device_Interface_List_Size_ExW
 @ stub CM_Get_First_Log_Conf
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 48ab1e4..4fcf298 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -95,8 +95,8 @@
 @ stub CM_Get_Device_Interface_ListW
 @ stub CM_Get_Device_Interface_List_ExA
 @ stub CM_Get_Device_Interface_List_ExW
-@ stub CM_Get_Device_Interface_List_SizeA
-@ stub CM_Get_Device_Interface_List_SizeW
+@ stdcall CM_Get_Device_Interface_List_SizeA(ptr ptr str long)
+@ stdcall CM_Get_Device_Interface_List_SizeW(ptr ptr wstr long)
 @ stdcall CM_Get_Device_Interface_List_Size_ExA(ptr ptr str long ptr)
 @ stdcall CM_Get_Device_Interface_List_Size_ExW(ptr ptr wstr long ptr)
 @ stub CM_Get_First_Log_Conf
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index c07278e..673bbbf 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -367,6 +367,26 @@ CONFIGRET WINAPI CM_Locate_DevNode_ExW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceI
 }
 
 /***********************************************************************
+ *      CM_Get_Device_Interface_List_SizeA (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeA(PULONG len, LPGUID class, DEVINSTID_A id,
+                                                    ULONG flags)
+{
+    FIXME("%p %p %s 0x%08x: stub\n", len, class, debugstr_a(id), flags);
+    return CR_FAILURE;
+}
+
+/***********************************************************************
+ *      CM_Get_Device_Interface_List_SizeW (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeW(PULONG len, LPGUID class, DEVINSTID_W id,
+                                                    ULONG flags)
+{
+    FIXME("%p %p %s 0x%08x: stub\n", len, class, debugstr_w(id), flags);
+    return CR_FAILURE;
+}
+
+/***********************************************************************
  *      CM_Get_Device_Interface_List_Size_ExA (SETUPAPI.@)
  */
 CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExA(PULONG len, LPGUID class, DEVINSTID_A id,




More information about the wine-cvs mailing list