ole32: Fix stream ref counting.
authorDr J A Gow <J.A.Gow@furrybubble.co.uk>
Tue, 21 Feb 2006 08:03:36 +0000 (17:03 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 21 Feb 2006 10:18:05 +0000 (11:18 +0100)
commite3af1227c9debfaf2290be75201ccfc47de61270
treecf3b297bb7fcf128a23d0027ae6729a1792988ef
parentc74e5a784d9fcda57c428f325e61688c1d7ffee5
ole32: Fix stream ref counting.
Stream methods called after parent object has been closed correctly
return STG_E_REVERTED.
Stream refcounting fixed. Now can safely call IStorage destructor
before IStream destructor and guarantee file will be closed.
dlls/ole32/stg_stream.c
dlls/ole32/storage32.c
dlls/ole32/storage32.h
dlls/ole32/tests/storage32.c