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



GetColorAdjustment

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

VB4-32,5,6
Declare Function GetColorAdjustment Lib "gdi32" Alias "GetColorAdjustment" (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 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.

Last update: 07 April 2006