[2/2] setuapi: Add stub for CM_Get_Class_Registry_PropertyW

André Hentschel nerv at dawncrow.de
Thu Jan 12 14:05:08 CST 2012


---
 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 69b35f6..3d687b3 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -53,7 +53,7 @@
 @ 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
+@ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr long long ptr) setupapi.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 5c8fd80..d3825d9 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -64,7 +64,7 @@
 @ 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
+@ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr long long ptr)
 @ 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 41f6d2f..ba437b7 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -398,6 +398,16 @@ CONFIGRET WINAPI CM_Get_Class_Registry_PropertyA(LPGUID class, ULONG prop, PULON
 }
 
 /***********************************************************************
+ *      CM_Get_Class_Registry_PropertyW (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Get_Class_Registry_PropertyW(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/2c1afb48/attachment.ksh>


More information about the wine-patches mailing list