[4/4] windowscodecs: Implement IWICComponentFactory::CreateDecoderFromFileHandle.

Vincent Povirk madewokherd at gmail.com
Wed Feb 6 10:25:02 CST 2013


> +    hr = map_file(file, &map, &mem, &size);
> +    if (FAILED(hr)) return hr;
> +
...
> +
> +    hr = IWICStreamImpl_InitializeFromMemory(stream, mem, size.u.LowPart);
> +    if (FAILED(hr)) goto error;

This makes me sad.

Is this really simpler than implementing Write and Seek for a file handle?



More information about the wine-devel mailing list