https://bugs.winehq.org/show_bug.cgi?id=40273
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- (In reply to Dmitry Timoshkov from comment #1)
Created attachment 53916 [details] patch
Does this patch help?
I recently worked on an application that needs WICCreateBitmapFromSection and tried the same approach, but it didn't work. The app embeds chromium which renders a web page to a section and keeps updating the section. Another thread periodically reads from the bitmap object and displays it on the screen.
So instead creating a copy of the section data we should store the view and use that for reads and writes.