Signed-off-by: Shawn M. Chapla <schapla(a)codeweavers.com>
---
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 64b0288dc9..fcef859a7c 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -676,7 +676,7 @@
@ stdcall -import RegQueryValueExW(long wstr ptr ptr ptr ptr)
@ stdcall RegQueryValueW(long wstr ptr ptr)
@ stub RegRemapPreDefKey
-# @ stub RegRenameKey
+@ stdcall RegRenameKey(long wstr wstr)
@ stdcall RegReplaceKeyA(long str str str)
@ stdcall RegReplaceKeyW(long wstr wstr wstr)
@ stdcall -import RegRestoreKeyA(long str long)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 7cfdbaa53b..ba24d648ff 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -507,6 +507,17 @@ LSTATUS WINAPI RegReplaceKeyW( HKEY hkey, LPCWSTR lpSubKey, LPCWSTR lpNewFile,
}
+/******************************************************************************
+ * RegRenameKey [ADVAPI32.@]
+ *
+ */
+LSTATUS WINAPI RegRenameKey( HKEY hkey, LPCWSTR lpSubKey, LPCWSTR lpNewName )
+{
+ FIXME("(%p,%s,%s): stub\n", hkey, debugstr_w(lpSubKey), debugstr_w(lpNewName));
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
/******************************************************************************
* RegReplaceKeyA [ADVAPI32.@]
*
--
2.27.0