Partager via


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.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::SetStretchBltMode

CDC::StretchBlt

StretchDIBits