Čiščenje

This commit is contained in:
Simon Rozman 2013-10-10 06:32:53 +00:00
parent 6b10d5d6a6
commit e7bf86e14f

View File

@ -407,7 +407,7 @@ LONG COpRegKeyDelete::DeleteKeyRecursively(HKEY hKeyRoot, LPCWSTR pszKeyName, RE
::RegCloseKey(hKey); ::RegCloseKey(hKey);
// Finally try to delete the key. // Finally try to delete the key.
lResult = ::RegDeleteKey(hKeyRoot, pszKeyName); lResult = ::RegDeleteKeyW(hKeyRoot, pszKeyName);
} else if (lResult == ERROR_FILE_NOT_FOUND) { } else if (lResult == ERROR_FILE_NOT_FOUND) {
// The key doesn't exist. Not really an error in this case. // The key doesn't exist. Not really an error in this case.
lResult = ERROR_SUCCESS; lResult = ERROR_SUCCESS;