ole32: Add a test for StgStreamImpl_SetSize with a non-zero HighPart for the size.
This commit is contained in:
parent
bb08a58965
commit
36d5515d91
|
@ -308,6 +308,9 @@ static void test_storage_stream(void)
|
|||
ok(r==S_OK, "failed to seek stream\n");
|
||||
r = IStream_SetSize(stm,p);
|
||||
ok(r==S_OK, "failed to set pos\n");
|
||||
p.u.HighPart = 1;
|
||||
r = IStream_SetSize(stm,p);
|
||||
ok(r==STG_E_INVALIDFUNCTION, "setting to invalid pos should fail with STG_E_INVALIDFUNCTION instead of error 0x%08x\n", r);
|
||||
pos.QuadPart = 10;
|
||||
r = IStream_Seek(stm, pos, STREAM_SEEK_SET, &p );
|
||||
ok(r==S_OK, "failed to seek stream\n");
|
||||
|
|
Loading…
Reference in New Issue