Alex Henrie : advapi32: Add RegEnableReflectionKey stub.

Alexandre Julliard julliard at winehq.org
Thu Jun 11 15:26:46 CDT 2020


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

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Tue Jun  9 20:55:58 2020 -0600

advapi32: Add RegEnableReflectionKey stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49358
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/advapi32/advapi32.spec |  2 +-
 dlls/advapi32/registry.c    | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index ac8ea6268a..64b0288dc9 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -639,7 +639,7 @@
 @ stdcall RegDisablePredefinedCache()
 # @ stub RegDisablePredefinedCacheEx
 @ stdcall RegDisableReflectionKey(ptr)
-# @ stub RegEnableReflectionKey
+@ stdcall RegEnableReflectionKey(ptr)
 @ stdcall RegEnumKeyA(long long ptr long)
 @ stdcall -import RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr)
 @ stdcall -import RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index b8b168496f..7cfdbaa53b 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -635,6 +635,17 @@ LONG WINAPI RegCopyTreeA( HKEY hsrc, const char *subkey, HKEY hdst )
 }
 
 
+/******************************************************************************
+ * RegEnableReflectionKey [ADVAPI32.@]
+ *
+ */
+LONG WINAPI RegEnableReflectionKey(HKEY base)
+{
+    FIXME("%p: stub\n", base);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
 /******************************************************************************
  * RegDisableReflectionKey [ADVAPI32.@]
  *




More information about the wine-cvs mailing list