# Function Reference

# _WinAPI_SetColorAdjustment

Sets the color adjustment for a device context (DC)

#include <WinAPIGdi.au3>
_WinAPI_SetColorAdjustment ( $hDC, $tAdjustment )

## Parameters

$hDC | A handle to the device context.
$tAdjustment | $tagCOLORADJUSTMENT structure containing the color adjustment values.

## Return Value

Success: | True
Failure: | False

## Remarks

The color adjustment are used to adjust the input color of the source bitmap for calls to the _WinAPI_StretchBlt()
and _WinAPI_StretchDIBits() functions when $HALFTONE ($STRETCH_HALFTONE) mode is set.

## See Also

Search SetColorAdjustment in MSDN Library.