GetDIBits() with a bitmap that is selected in a device context
Michael Kaufmann
hallo at michael-kaufmann.ch
Sun Jun 4 10:56:45 CDT 2006
The application "Fritz 5.32" calls GetDIBits() with a bitmap that is
still selected in a device context (see bug 3893). The bitmap has a
color table. GetDIBits() creates a memory DC, selects the bitmap into
this DC, and calls GetDIBColorTable(). But this fails, because Wine
can't select this bitmap in a memory device context again. According to
MSDN, calling GetDIBits with a bitmap that is selected in a device
context is not allowed. But surprisingly it works on Windows.
Does anybody have an idea how to solve this problem?
Regards,
Michael
More information about the wine-devel
mailing list