Fabian Maurer : setupapi: Correct function parameter for CM_Set_Class_Registry_PropertyA/W.

Alexandre Julliard julliard at winehq.org
Mon Nov 25 09:12:23 CST 2019


Module: wine
Branch: stable
Commit: 29407887bed9226ccee4f3116362dc6577589a4d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=29407887bed9226ccee4f3116362dc6577589a4d

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Thu May 23 05:59:56 2019 +0200

setupapi: Correct function parameter for CM_Set_Class_Registry_PropertyA/W.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47249
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit c77ba713d273bc8395f7340e05546aab8cffdb99)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/setupapi/stubs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 61ce005212..ff57ad6f8f 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -525,7 +525,7 @@ CONFIGRET WINAPI CM_Reenumerate_DevNode_Ex(DEVINST dnDevInst, ULONG ulFlags, HMA
 /***********************************************************************
  *      CM_Set_Class_Registry_PropertyA (SETUPAPI.@)
  */
-CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, PVOID buf, ULONG len,
+CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, LPCVOID buf, ULONG len,
                                                  ULONG flags, HMACHINE machine)
 {
     FIXME("%p %u %p %u 0x%08x %p: stub\n", class, prop, buf, len, flags, machine);
@@ -535,7 +535,7 @@ 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,
+CONFIGRET WINAPI CM_Set_Class_Registry_PropertyW(LPGUID class, ULONG prop, LPCVOID buf, ULONG len,
                                                  ULONG flags, HMACHINE machine)
 {
     FIXME("%p %u %p %u 0x%08x %p: stub\n", class, prop, buf, len, flags, machine);




More information about the wine-cvs mailing list