advapi32/tests: Fix a failure on 64bit NT 5.x.

This commit is contained in:
Detlef Riekenberg 2012-11-12 05:50:13 +01:00 committed by Alexandre Julliard
parent c27d20902a
commit aaad900d1e
1 changed files with 1 additions and 1 deletions

View File

@ -4294,7 +4294,7 @@ static void test_TokenIntegrityLevel(void)
res = GetTokenInformation(token, TokenIntegrityLevel, buffer, sizeof(buffer), &size);
/* not supported before Vista */
if (!res && (GetLastError() == ERROR_INVALID_PARAMETER))
if (!res && ((GetLastError() == ERROR_INVALID_PARAMETER) || GetLastError() == ERROR_INVALID_FUNCTION))
{
win_skip("TokenIntegrityLevel not supported\n");
CloseHandle(token);