shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW.
This commit is contained in:
parent
84da6aeeed
commit
4505b4b07c
|
@ -3875,7 +3875,7 @@ static HRESULT WINAPI foldermanager_UnregisterFolder(
|
|||
hr = get_known_folder_registry_path(rfid, NULL, ®istryPath);
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue