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

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


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

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

setupapi: Add stub for CM_Get_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 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,




More information about the wine-cvs mailing list