[1/2] setuapi: Add stub for CM_Get_Class_Registry_PropertyA
André Hentschel
nerv at dawncrow.de
Thu Jan 12 14:05:01 CST 2012
---
dlls/cfgmgr32/cfgmgr32.spec | 2 ++
dlls/setupapi/setupapi.spec | 2 ++
dlls/setupapi/stubs.c | 10 ++++++++++
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec
index 24c4cf3..69b35f6 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -52,6 +52,8 @@
@ stub CM_Get_Class_NameW
@ stub CM_Get_Class_Name_ExA
@ stub CM_Get_Class_Name_ExW
+@ stdcall CM_Get_Class_Registry_PropertyA(ptr long ptr ptr long long ptr) setupapi.CM_Get_Class_Registry_PropertyA
+@ stub CM_Get_Class_Registry_PropertyW
@ stub CM_Get_Depth
@ stub CM_Get_Depth_Ex
@ stub CM_Get_DevNode_Registry_PropertyA
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index eceef49..5c8fd80 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -63,6 +63,8 @@
@ stub CM_Get_Class_NameW
@ stub CM_Get_Class_Name_ExA
@ stub CM_Get_Class_Name_ExW
+@ stdcall CM_Get_Class_Registry_PropertyA(ptr long ptr ptr long long ptr)
+@ stub CM_Get_Class_Registry_PropertyW
@ stub CM_Get_Depth
@ stub CM_Get_Depth_Ex
@ stub CM_Get_DevNode_Registry_PropertyA
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 1617f71..41f6d2f 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -388,6 +388,16 @@ CONFIGRET WINAPI CM_Enumerate_Classes(ULONG index, LPGUID class, ULONG flags)
}
/***********************************************************************
+ * CM_Get_Class_Registry_PropertyA (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Class_Registry_PropertyA(LPGUID class, ULONG prop, PULONG regdatatype,
+ PVOID buf, ULONG len, ULONG flags, HMACHINE machine)
+{
+ FIXME("%p %u %p %p %u 0x%08x %p: stub\n", class, prop, regdatatype, buf, len, flags, machine);
+ return CR_FAILURE;
+}
+
+/***********************************************************************
* CM_Set_Class_Registry_PropertyA (SETUPAPI.@)
*/
CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, PVOID buf, ULONG len,
--
Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120112/fd3233c6/attachment.ksh>
More information about the wine-patches
mailing list