[PATCH] windowscodecs: Implement WICCreateBitmapFromSection.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Mar 15 09:40:33 CDT 2018
Hans Leidekker <hans at codeweavers.com> wrote:
> > + buffer = MapViewOfFile(section, access, 0, offset, 0);
> > + if (!buffer) return HRESULT_FROM_WIN32(GetLastError());
>
> MapViewOfFile wants a multiple of the allocation granularity for the
> offset. Does WICCreateBitmapFromSectionEx have the same constraint?
I would be very much surprised if it doesn't, a passed in section
handle implies using MapViewOfFile to access the bitmap bits.
--
Dmitry.
More information about the wine-devel
mailing list