[1/5] windowscodecs: Implement IWICStream::InitializeFromIStream. (try 2)

Vincent Povirk madewokherd at gmail.com
Wed May 30 13:46:41 CDT 2012


BTW, the patch looks good to me.

On Tue, May 29, 2012 at 8:07 AM, Vincent Povirk <madewokherd at gmail.com> wrote:
>>> +    offset.QuadPart = 0;
>>> +    size.u.LowPart = 0xffffffff;
>>> +    size.u.HighPart = 0xffffffff;
>>> +    return IWICStream_InitializeFromIStreamRegion(iface, pIStream, offset, size);
>>
>> What prevents you from discovering correct stream size?
>
> The size passed to InitializeFromIStreamRegion is an upper limit. If
> the underlying stream is smaller, the appropriate size will still be
> reported from Read, Stat, and Seek.



More information about the wine-devel mailing list