mirror of
https://github.com/wine-mirror/wine
synced 2024-07-09 04:16:08 +00:00
ole32/tests: Update IStream_SetSize with large size test result.
The high part is ignored, and OOM error is only returned if there's not enough memory available, not because of GlobalReAlloc specific behavior. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
This commit is contained in:
parent
577258a981
commit
15d01a2a12
|
@ -294,10 +294,9 @@ static void test_streamonhglobal(void)
|
|||
|
||||
/* test OOM condition */
|
||||
ull.u.HighPart = -1;
|
||||
ull.u.LowPart = -1;
|
||||
ull.u.LowPart = 0;
|
||||
hr = IStream_SetSize(pStream, ull);
|
||||
ok(hr == E_OUTOFMEMORY || broken(hr == S_OK), /* win9x */
|
||||
"IStream_SetSize with large size should have returned E_OUTOFMEMORY instead of 0x%08lx\n", hr);
|
||||
ok(hr == S_OK, "IStream_SetSize with large size should have returned S_OK instead of 0x%08lx\n", hr);
|
||||
|
||||
IStream_Release(pStream);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user