Author: jimtabor
Date: Tue Dec 11 08:33:31 2007
New Revision: 31136
URL:
http://svn.reactos.org/svn/reactos?rev=31136&view=rev
Log:
Add stub patch for RegDeleteKeyExA/W by Stefan100 stefan__100__ at
hotmail.com from IRC.
Modified:
trunk/reactos/dll/win32/advapi32/advapi32.def
trunk/reactos/dll/win32/advapi32/reg/reg.c
trunk/reactos/include/psdk/winreg.h
Modified: trunk/reactos/dll/win32/advapi32/advapi32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/advapi3…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/advapi32.def (original)
+++ trunk/reactos/dll/win32/advapi32/advapi32.def Tue Dec 11 08:33:31 2007
@@ -479,6 +479,8 @@
RegCreateKeyW@12
RegDeleteKeyA@8
RegDeleteKeyW@8
+RegDeleteKeyExA@16
+RegDeleteKeyExW@16
RegDeleteKeyValueA@12
RegDeleteKeyValueW@12
RegDeleteTreeA@8
Modified: trunk/reactos/dll/win32/advapi32/reg/reg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/reg/reg…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/reg/reg.c (original)
+++ trunk/reactos/dll/win32/advapi32/reg/reg.c Tue Dec 11 08:33:31 2007
@@ -1244,6 +1244,39 @@
return ERROR_SUCCESS;
}
+/************************************************************************
+ * RegDeleteKeyExA
+ *
+ * @unimplemented
+ */
+LONG
+WINAPI
+RegDeleteKeyExA ( HKEY hKey,
+ LPCSTR lpSubKey,
+ REGSAM samDesired,
+ DWORD Reserved
+ )
+{
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/************************************************************************
+ * RegDeleteKeyExW
+ *
+ * @unimplemented
+ */
+LONG
+WINAPI
+RegDeleteKeyExW (HKEY hKey,
+ LPCWSTR lpSubKey,
+ REGSAM samDesired,
+ DWORD Reserved
+ )
+{
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
/************************************************************************
* RegDeleteKeyValueW
Modified: trunk/reactos/include/psdk/winreg.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winreg.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/winreg.h (original)
+++ trunk/reactos/include/psdk/winreg.h Tue Dec 11 08:33:31 2007
@@ -82,6 +82,8 @@
LONG WINAPI
RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD);
LONG WINAPI RegCreateKeyW(HKEY,LPCWSTR,PHKEY);
LONG WINAPI RegDeleteKeyA(HKEY,LPCSTR);
+LONG WINAPI RegDeleteKeyExA (HKEY,LPCSTR,REGSAM,DWORD);
+LONG WINAPI RegDeleteKeyExW (HKEY,LPCWSTR,REGSAM,DWORD);
#if (_WIN32_WINNT >= 0x0600)
LONG WINAPI RegDeleteKeyValueA(HKEY,LPCSTR,LPCSTR);
LONG WINAPI RegDeleteKeyValueW(HKEY,LPCWSTR,LPCWSTR);
@@ -165,6 +167,7 @@
#define RegCreateKey RegCreateKeyW
#define RegCreateKeyEx RegCreateKeyExW
#define RegDeleteKey RegDeleteKeyW
+#define RegDeleteKeyEx RegDeleteKeyExW
#if (_WIN32_WINNT >= 0x0600)
#define RegDeleteKeyValue RegDeleteKeyValueW
#define RegDeleteTree RegDeleteTreeW
@@ -206,6 +209,7 @@
#define RegCreateKey RegCreateKeyA
#define RegCreateKeyEx RegCreateKeyExA
#define RegDeleteKey RegDeleteKeyA
+#define RegDeleteKeyEx RegDeleteKeyExA
#if (_WIN32_WINNT >= 0x0600)
#define RegDeleteKeyValue RegDeleteKeyValueA
#define RegDeleteTree RegDeleteTreeA