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 |
); |
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.