[Bug 40273] Call from 0x7b83d9b2 to unimplemented function windowscodecs.dll.WICCreateBitmapFromSection

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 11 06:57:50 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=40273

--- Comment #5 from Hans Leidekker <hans at meelstraat.net> ---
(In reply to Dmitry Timoshkov from comment #4)
> Created attachment 53921 [details]
> patch v2
> 
> Something like the attached patch should take care of the modifications to
> the section data made by an application.

Yep. I'm not sure you can pass the offset straight into MapViewOfFile. The
documentation for MapViewOfFile says it should be a multiple of the allocation
granularity but no such restriction is mentioned for
WICCreateBitmapFromSection.

An alternative would be to map the view at the base and store it separately.
The data pointer would then point at the offset into the view.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list