A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



SetColorAdjustment

The SetColorAdjustment function sets the color adjustment values for a device context (DC) using the specified values.

VB4-32,5,6
Declare Function SetColorAdjustment Lib "gdi32" Alias "SetColorAdjustment" (ByVal hdc As Long, lpca As COLORADJUSTMENT) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Win9x/ME: Not supported

Library
Gdi32

Parameter Information
- hdc
Identifies the device context.

- lpca
Points to a COLORADJUSTMENT structure containing 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.

Last update: 07 April 2006