Mariusz Pluciński : shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW.

Alexandre Julliard julliard at winehq.org
Tue Aug 23 12:44:55 CDT 2011


Module: wine
Branch: master
Commit: 4505b4b07c98768b273ccc0d614c549357af4dc6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4505b4b07c98768b273ccc0d614c549357af4dc6

Author: Mariusz Pluciński <vshader at gmail.com>
Date:   Fri Aug  5 18:26:08 2011 +0200

shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW.

---

 dlls/shell32/shellpath.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 9898bc2..1c723a2 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -3875,7 +3875,7 @@ static HRESULT WINAPI foldermanager_UnregisterFolder(
     hr = get_known_folder_registry_path(rfid, NULL, &registryPath);
 
     if(SUCCEEDED(hr))
-        hr = HRESULT_FROM_WIN32(RegDeleteKeyW(HKEY_LOCAL_MACHINE, registryPath));
+        hr = HRESULT_FROM_WIN32(SHDeleteKeyW(HKEY_LOCAL_MACHINE, registryPath));
 
     HeapFree(GetProcessHeap(), 0, registryPath);
     return hr;




More information about the wine-cvs mailing list