CDC::SetColorAdjustment

BOOL SetColorAdjustment( const COLORADJUSTMENT* lpColorAdjust );

Return Value

Nonzero if successful; otherwise 0.

Parameters

lpColorAdjust

Points to a COLORADJUSTMENT data structure containing the color adjustment values.

Remarks

Sets the color adjustment values for the device context using the specified values. The color adjustment values are used to adjust the input color of the source bitmap for calls to the CDC::StretchBlt member function when HALFTONE mode is set.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SetStretchBltMode, CDC::StretchBlt, ::StretchDIBits