gdi32: Remove call to CreateCompatibleDC() from GetDIBits()
implementation (try 1)
Alex Villacís Lasso
a_villacis at palosanto.com
Fri Oct 20 17:49:09 CDT 2006
This is the first attempt at a patch that will fix the debug assertion
when icons are rendered into metafiles (triggered by Enterprise
Architect 6.5, and possibly others). This patch simply removes mentions
of memdc, created by a call to CreateCompatibleDC(), and redirects calls
to GetDIBColorTable() to use the original DC instead of memdc. Intends
to fix bug #6439. Now with patch.
Patch also posted in bug report #6439.
* Remove call to CreateCompatibleDC() from GetDIBits() implementation,
to allow calling GetDIBits() with GDI lock held.
The following cryptic message was allegedly found in the inner edge of a Windows
XP installation CD:
It is rumored that only a true Unix Wizard can decypher this mysterious message,
which supposedly encodes the true nature and purpose of the software.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061020/8319c6b3/wine-gdi32-dib-GetDIBits-no_createcompatibledc.bin
More information about the wine-patches