kernel32/tests: Fixed the handle test for Win9x.

This commit is contained in:
Alexandre Julliard 2008-12-08 21:19:39 +01:00
parent 50d6b7fb54
commit ffb44032ad
1 changed files with 3 additions and 1 deletions

View File

@ -1526,7 +1526,9 @@ static void test_Handles(void)
BOOL ret;
DWORD code;
ok( handle == (HANDLE)~(ULONG_PTR)0, "invalid current process handle %p\n", handle );
ok( handle == (HANDLE)~(ULONG_PTR)0 ||
handle == (HANDLE)(ULONG_PTR)0x7fffffff /* win9x */,
"invalid current process handle %p\n", handle );
ret = GetExitCodeProcess( handle, &code );
ok( ret, "GetExitCodeProcess failed err %u\n", GetLastError() );
#ifdef _WIN64