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.
Changelog:
* 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:
4F6E65204F5320746F2072756C65207468656D20616C6C2C204F6E65204F5320746F2066696E6420
7468656D2C0D0A4F6E65204F5320746F206272696E67207468656D20616C6C20616E6420696E2074
6865206461726B6E6573732062696E64207468656D2E0A
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...
Name: wine-gdi32-dib-GetDIBits-no_createcompatibledc.patch
Type: text/x-patch
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
mailing list