ole32: Remove knowledge of block sizes from the BigBlockFile object.
commit5ceb003a24a95616e6018cd0b92b4781410ac1a7
authorVincent Povirk <vincent@codeweavers.com>
Wed, 10 Mar 2010 21:03:35 +0000 (10 15:03 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 15 Mar 2010 12:46:48 +0000 (15 13:46 +0100)
tree914dd29f6e5cb545772fdf9b0f0bccfe088f6b88
parent926669741edfaba22a2a9925d8550aeeb10737db
ole32: Remove knowledge of block sizes from the BigBlockFile object.

We can't determine the correct block size until we read the header, and we
can't create the BigBlockFile until we know the correct block size. To
solve this dilemma, have StorageImpl calculate the file size it needs instead
of asking the BigBlockFile to "ensure a big block exists".
dlls/ole32/stg_bigblockfile.c
dlls/ole32/storage32.c
dlls/ole32/storage32.h