André Hentschel : setupapi: Add stubs for CM_Get_Device_ID_List_SizeA/W.
Alexandre Julliard
julliard at winehq.org
Fri May 27 11:03:39 CDT 2011
Module: wine
Branch: master
Commit: c6e38bfee65cf16009cff1fbeb1a39b52c119390
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6e38bfee65cf16009cff1fbeb1a39b52c119390
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu May 26 19:23:09 2011 +0200
setupapi: Add stubs for CM_Get_Device_ID_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 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)
More information about the wine-cvs
mailing list