GetDIBits() with a bitmap that is selected in a device context
Dmitry Timoshkov
dmitry at codeweavers.com
Sun Jun 4 22:29:25 CDT 2006
"Michael Kaufmann" <hallo at michael-kaufmann.ch> wrote:
> 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?
A very first step should be to write a test case and integrate it
into the Wine GDI tests.
--
Dmitry.
More information about the wine-devel
mailing list