W2K3 returns STATUS_INVALID_HANDLE instead of STATUS_ACCESS_VIOLATION.

This commit is contained in:
Paul Vriens 2005-06-16 09:43:59 +00:00 committed by Alexandre Julliard
parent 35da52d9ca
commit 62441145b6
1 changed files with 2 additions and 1 deletions

View File

@ -357,7 +357,8 @@ static void test_query_process_basic()
/* Use a correct info class and buffer size, but still no handle and buffer */
trace("Check NULL handle and buffer\n");
status = pNtQueryInformationProcess(NULL, ProcessBasicInformation, NULL, sizeof(pbi), NULL);
ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got %08lx\n", status);
ok( status == STATUS_ACCESS_VIOLATION || status == STATUS_INVALID_HANDLE,
"Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_HANDLE(W2K3), got %08lx\n", status);
/* Use a correct info class and buffer size, but still no handle */
trace("Check NULL handle\n");