ole32: Add test showing storage objects can't be opened twice.

Vincent Povirk vincent at codeweavers.com
Tue Oct 13 14:19:15 CDT 2009


Opening a storage object a second time fails, and deleting an object that's open invalidates it. This implies that storages need to be aware of the storages and streams that are open one level beneath them.

This is a good argument for caching bits of the directory structure. If we can have an in-memory copy of a directory entry, we can add fields to it, including a pointer to an open storage object.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091013/cba2cca1/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-ole32-Add-test-showing-storage-objects-can-t-be-ope.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091013/cba2cca1/attachment.txt>


More information about the wine-patches mailing list