ole32: Flush the ILockBytes object of a storage on commit and final release.
commit5116b979b212981efa5312ac0fa47147d92f9295
authorVincent Povirk <vincent@codeweavers.com>
Sat, 17 Jul 2010 18:07:21 +0000 (17 13:07 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Jul 2010 12:38:16 +0000 (19 14:38 +0200)
treeb843d571ebf5b216dad85ba6c104c73734474962
parentb7dbfcbd48bd7d4352c2ff188805972f732f2b17
ole32: Flush the ILockBytes object of a storage on commit and final release.

Some ILockBytes objects will not really write changes until their Flush
method is called. Also, further optimizations to the storage implementation
will involve caching writes, which will have to be flushed at times.
dlls/ole32/stg_stream.c
dlls/ole32/storage32.c
dlls/ole32/storage32.h