kernel32/tests: Fixed the handle test for Win9x.
This commit is contained in:
parent
50d6b7fb54
commit
ffb44032ad
|
@ -1526,7 +1526,9 @@ static void test_Handles(void)
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
DWORD code;
|
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 );
|
ret = GetExitCodeProcess( handle, &code );
|
||||||
ok( ret, "GetExitCodeProcess failed err %u\n", GetLastError() );
|
ok( ret, "GetExitCodeProcess failed err %u\n", GetLastError() );
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
|
Loading…
Reference in New Issue