advapi32/tests: Fix a test failure on NT4.

This commit is contained in:
Paul Vriens 2008-11-25 10:43:17 +01:00 committed by Alexandre Julliard
parent ec1c9492b0
commit ee1f1bfb3f
1 changed files with 3 additions and 2 deletions

View File

@ -963,9 +963,10 @@ static void test_reg_open_key(void)
hkResult = NULL;
ret = RegOpenKeyExA(HKEY_CLASSES_ROOT, "\\clsid", 0, KEY_QUERY_VALUE, &hkResult);
ok(ret == ERROR_SUCCESS || /* NT/2k/XP */
ok(ret == ERROR_SUCCESS || /* 2k/XP */
ret == ERROR_BAD_PATHNAME || /* NT */
ret == ERROR_FILE_NOT_FOUND /* Win9x,ME */
, "expected ERROR_SUCCESS or ERROR_FILE_NOT_FOUND, got %d\n", ret);
, "expected ERROR_SUCCESS, ERROR_BAD_PATHNAME or ERROR_FILE_NOT_FOUND, got %d\n", ret);
RegCloseKey(hkResult);
/* WOW64 flags */