RESUBMIT: olepicture loading from streams without Stat

Alexandre Julliard julliard at
Fri Nov 4 06:56:21 CST 2005

Marcus Meissner <marcus at> writes:

> Hi,
> Third submission... Should I change anything? Make it cleaner?
> Sample app is in
> Ciao, Marcus
> Changelog:
> 	Implemented OLEPicture loading from IStreams that do 
> 	not support IStream::Stat().
> 	Added testcase for this behaviour.

You need to allocate a larger buffer, and grow it by doubling the size
or something like that. Reallocating every 4096 bytes is going to be
very slow on large files. Also you shouldn't use ntdll functions in
the tests.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list