[1/3] setupapi: Add stubs for CM_Get_Device_ID_List_SizeA/W
André Hentschel
nerv at dawncrow.de
Thu May 26 12:23:09 CDT 2011
Fixes an Installer: http://bugs.winehq.org/show_bug.cgi?id=27280
---
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 780312a..21029fe 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -68,8 +68,8 @@
@ stdcall CM_Get_Device_ID_ListW(wstr ptr long long) setupapi.CM_Get_Device_ID_ListW
@ stub CM_Get_Device_ID_List_ExA
@ stub CM_Get_Device_ID_List_ExW
-@ stub CM_Get_Device_ID_List_SizeA
-@ stub CM_Get_Device_ID_List_SizeW
+@ stdcall CM_Get_Device_ID_List_SizeA(ptr str long) setupapi.CM_Get_Device_ID_List_SizeA
+@ stdcall CM_Get_Device_ID_List_SizeW(ptr wstr long) setupapi.CM_Get_Device_ID_List_SizeW
@ stub CM_Get_Device_ID_List_Size_ExA
@ stub CM_Get_Device_ID_List_Size_ExW
@ stdcall CM_Get_Device_ID_Size(ptr ptr long) setupapi.CM_Get_Device_ID_Size
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 54083be..9ad5a96 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -79,8 +79,8 @@
@ stdcall CM_Get_Device_ID_ListW(wstr ptr long long)
@ stub CM_Get_Device_ID_List_ExA
@ stub CM_Get_Device_ID_List_ExW
-@ stub CM_Get_Device_ID_List_SizeA
-@ stub CM_Get_Device_ID_List_SizeW
+@ stdcall CM_Get_Device_ID_List_SizeA(ptr str long)
+@ stdcall CM_Get_Device_ID_List_SizeW(ptr wstr long)
@ stub CM_Get_Device_ID_List_Size_ExA
@ stub CM_Get_Device_ID_List_Size_ExW
@ stdcall CM_Get_Device_ID_Size(ptr ptr long)
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 8ba17d7..d4e135e 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -113,6 +113,26 @@ CONFIGRET WINAPI CM_Get_Device_ID_ListW(
}
/***********************************************************************
+ * CM_Get_Device_ID_List_SizeA (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Device_ID_List_SizeA( PULONG pulLen, PCSTR pszFilter, ULONG ulFlags )
+{
+ FIXME("%p %s 0x%08x\n", pulLen, debugstr_a(pszFilter), ulFlags);
+
+ return CR_SUCCESS;
+}
+
+/***********************************************************************
+ * CM_Get_Device_ID_List_SizeW (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Device_ID_List_SizeW( PULONG pulLen, PCWSTR pszFilter, ULONG ulFlags )
+{
+ FIXME("%p %s 0x%08x\n", pulLen, debugstr_w(pszFilter), ulFlags);
+
+ return CR_SUCCESS;
+}
+
+/***********************************************************************
* CM_Get_Parent (SETUPAPI.@)
*/
DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list