[PATCH 3/5] shlwapi: Forward SHEnumValue() to shcore.
Nikolay Sivov
nsivov at codeweavers.com
Mon Dec 3 23:02:50 CST 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/shlwapi/reg.c | 45 ---------------------------------------
dlls/shlwapi/shlwapi.spec | 4 ++--
2 files changed, 2 insertions(+), 47 deletions(-)
diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c
index 5faad4a2d6..ffc1c303a6 100644
--- a/dlls/shlwapi/reg.c
+++ b/dlls/shlwapi/reg.c
@@ -1666,51 +1666,6 @@ LONG WINAPI SHEnumKeyExW(HKEY hKey, DWORD dwIndex, LPWSTR lpszSubKey,
return RegEnumKeyExW(hKey, dwIndex, lpszSubKey, pwLen, NULL, NULL, NULL, NULL);
}
-/*************************************************************************
- * SHEnumValueA [SHLWAPI.@]
- *
- * Enumerate values in a registry key.
- *
- * PARAMS
- * hKey [I] Handle to registry key
- * dwIndex [I] Index of key to enumerate
- * lpszValue [O] Pointer updated with the values name
- * pwLen [O] Pointer updated with the values length
- * pwType [O] Pointer updated with the values type
- * pvData [O] Pointer updated with the values data
- * pcbData [O] Pointer updated with the values size
- *
- * RETURNS
- * Success: ERROR_SUCCESS. Output parameters are updated.
- * Failure: An error code from RegEnumValueA().
- */
-LONG WINAPI SHEnumValueA(HKEY hKey, DWORD dwIndex, LPSTR lpszValue,
- LPDWORD pwLen, LPDWORD pwType,
- LPVOID pvData, LPDWORD pcbData)
-{
- TRACE("(hkey=%p,%d,%s,%p,%p,%p,%p)\n", hKey, dwIndex,
- debugstr_a(lpszValue), pwLen, pwType, pvData, pcbData);
-
- return RegEnumValueA(hKey, dwIndex, lpszValue, pwLen, NULL,
- pwType, pvData, pcbData);
-}
-
-/*************************************************************************
- * SHEnumValueW [SHLWAPI.@]
- *
- * See SHEnumValueA.
- */
-LONG WINAPI SHEnumValueW(HKEY hKey, DWORD dwIndex, LPWSTR lpszValue,
- LPDWORD pwLen, LPDWORD pwType,
- LPVOID pvData, LPDWORD pcbData)
-{
- TRACE("(hkey=%p,%d,%s,%p,%p,%p,%p)\n", hKey, dwIndex,
- debugstr_w(lpszValue), pwLen, pwType, pvData, pcbData);
-
- return RegEnumValueW(hKey, dwIndex, lpszValue, pwLen, NULL,
- pwType, pvData, pcbData);
-}
-
/*************************************************************************
* @ [SHLWAPI.205]
*
diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec
index f8ffd36725..31fb6ad7e3 100644
--- a/dlls/shlwapi/shlwapi.spec
+++ b/dlls/shlwapi/shlwapi.spec
@@ -698,8 +698,8 @@
@ stdcall SHDeleteValueW(long wstr wstr)
@ stdcall SHEnumKeyExA(long long str ptr)
@ stdcall SHEnumKeyExW(long long wstr ptr)
-@ stdcall SHEnumValueA(long long str ptr ptr ptr ptr)
-@ stdcall SHEnumValueW(long long wstr ptr ptr ptr ptr)
+@ stdcall SHEnumValueA(long long str ptr ptr ptr ptr) shcore.SHEnumValueA
+@ stdcall SHEnumValueW(long long wstr ptr ptr ptr ptr) shcore.SHEnumValueW
@ stdcall SHGetInverseCMAP ( ptr long )
@ stdcall SHGetThreadRef(ptr) shcore.SHGetThreadRef
@ stdcall SHGetValueA ( long str str ptr ptr ptr )
--
2.19.2
More information about the wine-devel
mailing list