[Bug 16542] New: SetDIBits, null DC and DIB_RGB_COLORS

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 17 03:46:45 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16542

           Summary: SetDIBits, null DC and DIB_RGB_COLORS
           Product: Wine
           Version: 1.1.9
          Platform: All
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: surrel at visuol.com


MSDN help for SetDIBits states that:

"The device context identified by the hdc parameter is used only if the
DIB_PAL_COLORS constant is set for the fuColorUse parameter; otherwise it is
ignored"

When hdc is set to 0, with fuColorUse set to DIB_RGB_COLORS, Windows reports an
error and one gets the WINE error message:

fixme:bitmap:SetDIBits shouldn't require a DC for DIB_RGB_COLORS

Apparently related to bug #15312


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list