shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW.

This commit is contained in:
Mariusz Pluciński 2011-08-05 18:26:08 +02:00 committed by Alexandre Julliard
parent 84da6aeeed
commit 4505b4b07c
1 changed files with 1 additions and 1 deletions

View File

@ -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;