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

Alexandre Julliard julliard at winehq.org
Thu Jan 12 13:19:20 CST 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 11 20:50:07 2012 +0100

setuapi: Add stub for CM_Set_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 450ce02..9593746 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -156,6 +156,8 @@
 @ stub CM_Reset_Children_Marks_Ex
 @ stub CM_Run_Detection
 @ stub CM_Run_Detection_Ex
+@ stdcall CM_Set_Class_Registry_PropertyA(ptr long ptr long long ptr) setupapi.CM_Set_Class_Registry_PropertyA
+@ stub CM_Set_Class_Registry_PropertyW
 @ stub CM_Set_DevNode_Problem
 @ stub CM_Set_DevNode_Problem_Ex
 @ stub CM_Set_DevNode_Registry_PropertyA
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 2d5d80a..e7bcb19 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -173,6 +173,8 @@
 @ stub CM_Reset_Children_Marks_Ex
 @ stub CM_Run_Detection
 @ stub CM_Run_Detection_Ex
+@ stdcall CM_Set_Class_Registry_PropertyA(ptr long ptr long long ptr)
+@ stub CM_Set_Class_Registry_PropertyW
 @ stub CM_Set_DevNode_Problem
 @ stub CM_Set_DevNode_Problem_Ex
 @ stub CM_Set_DevNode_Registry_PropertyA
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index b43a343..1f632c1 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -378,6 +378,16 @@ CONFIGRET WINAPI CM_Enumerate_Classes(ULONG index, LPGUID class, ULONG flags)
 }
 
 /***********************************************************************
+ *      CM_Set_Class_Registry_PropertyA (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, PVOID buf, ULONG len,
+                                                 ULONG flags, HMACHINE machine)
+{
+    FIXME("%p %u %p %u 0x%08x %p: stub\n", class, prop, buf, len, flags, machine);
+    return CR_FAILURE;
+}
+
+/***********************************************************************
  *              SetupLogFileW  (SETUPAPI.@)
  */
 BOOL WINAPI SetupLogFileW(




More information about the wine-cvs mailing list