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

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


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

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

setuapi: Add stub for CM_Set_Class_Registry_PropertyW.

---

 dlls/cfgmgr32/cfgmgr32.spec |    2 +-
 dlls/setupapi/setupapi.spec |    2 +-
 dlls/setupapi/stubs.c       |   10 ++++++++++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec
index 9593746..a34555f 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -157,7 +157,7 @@
 @ 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
+@ stdcall CM_Set_Class_Registry_PropertyW(ptr long ptr long long ptr) setupapi.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 e7bcb19..6ef8f92 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -174,7 +174,7 @@
 @ 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
+@ stdcall CM_Set_Class_Registry_PropertyW(ptr long ptr long long ptr)
 @ 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 1f632c1..abe964f 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -388,6 +388,16 @@ CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, PVOID
 }
 
 /***********************************************************************
+ *      CM_Set_Class_Registry_PropertyW (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Set_Class_Registry_PropertyW(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