This documentation is archived and is not being maintained.

CDC::SetColorAdjustment

Sets the color adjustment values for the device context using the specified values.

BOOL SetColorAdjustment(
   const COLORADJUSTMENT* lpColorAdjust 
);

Parameters

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

Return Value

Nonzero if successful; otherwise 0.

Remarks

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.

See Also

CDC Overview | Class Members | Hierarchy Chart | CDC::SetStretchBltMode | CDC::StretchBlt | StretchDIBits

Show: