Prev Next

GetColorAdjustment info  Overview  Group

The GetColorAdjustment function retrieves the color adjustment values for the specified device context.

BOOL GetColorAdjustment(

    HDC hdc,

// handle of device context

    LPCOLORADJUSTMENT lpca 

// address of COLORADJUSTMENT structure

   );

Parameters

hdc
Identifies the device context.
lpca
Points to a COLORADJUSTMENT structure that receives the color adjustment values.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also

SetColorAdjustment, COLORADJUSTMENT