15 Mar
2018
15 Mar
'18
2:40 p.m.
Hans Leidekker <hans(a)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.