Fixed tests of GetAcceptLanguagesA for win2k and win XP.

This commit is contained in:
Stefan Leichter 2004-08-18 23:50:22 +00:00 committed by Alexandre Julliard
parent 553dc348b0
commit fcf16e3715
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ static void test_GetAcceptLanguagesA(void)
trace("GetAcceptLanguagesA: skipping tests\n");
return;
}
ok(ERROR_SUCCESS == GetLastError(), "last error set to %ld\n", GetLastError());
ok( (ERROR_NO_IMPERSONATION_TOKEN == GetLastError()) ||
(ERROR_CLASS_DOES_NOT_EXIST == GetLastError()) ||
(ERROR_SUCCESS == GetLastError()), "last error set to %ld\n", GetLastError());
exactsize = strlen(buffer);
SetLastError(ERROR_SUCCESS);