CDC::SetColorAdjustment

BOOL SetColorAdjustment(const COLORADJUSTMENT* lpColorAdjust);

返回值:如果成功,则返回非零值,否则为0。

参数
lpColorAdjust 包含颜色调整值的COLORADJUSTMENT数据结构的指针。

说明:
利用指定值为设备上下文设置颜色调整值。颜色调整值用于调整源位图的输入颜色。在设置HALFTONE模式时,要调用CDC::StretchBlt成员函数。

请参阅:CDC::SetStretchBltMode, CDC::StretchBlt, ::StretchDIBits