Čiščenje
This commit is contained in:
parent
6b10d5d6a6
commit
e7bf86e14f
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user