=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: setupapi: Add stub for CM_Get_Class_Registry_PropertyA.

Alexandre Julliard julliard at winehq.org
Fri Jan 13 11:44:29 CST 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Jan 12 21:05:01 2012 +0100

setupapi: Add stub for CM_Get_Class_Registry_PropertyA.

---

 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,




More information about the wine-cvs mailing list