Commit 4505b4b0 authored by Mariusz Pluciński's avatar Mariusz Pluciński Committed by Alexandre Julliard

shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW.

parent 84da6aee
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment