ole32: Reread the stream entry after setting the size in StreamWriteAt.
authorVincent Povirk <vincent@codeweavers.com>
Sat, 19 Dec 2009 20:20:02 +0000 (14:20 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 21 Dec 2009 14:01:24 +0000 (15:01 +0100)
commitb3511ebb70072d8615d09db638e47e9f3d86fcfc
tree62defe18cb27b11b7ab6bafefc19db80821c29a3
parentfc50ff07d63af54fe96ce08d9da58f4e63f551f3
ole32: Reread the stream entry after setting the size in StreamWriteAt.

In simple mode, StreamWriteAt would assume that StreamSetSize uses the size
it asks for, but in some cases the size would be pushed above the small block
limit. StreamWriteAt would then attempt to write using a small block chain,
even though a big block chain was created.
dlls/ole32/storage32.c