Fail gracefully on permission denied.

This commit is contained in:
Jakob Eriksson 2005-04-18 09:52:40 +00:00 committed by Alexandre Julliard
parent 2813da13a3
commit 163f5ab923
1 changed files with 2 additions and 1 deletions

View File

@ -357,7 +357,8 @@ static void test_reg_delete_key()
DWORD ret;
ret = RegDeleteKey(hkey_main, NULL);
ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got %ld\n", ret);
ok(ret == ERROR_INVALID_PARAMETER || ret == ERROR_ACCESS_DENIED,
"expected ERROR_INVALID_PARAMETER or ERROR_ACCESS_DENIED, got %ld\n", ret);
}
static void test_reg_save_key()