GetNearestColor(3w)

GetNearestColor3w

Usage

COLORREF GetNearestColor
(
HDC hdc,
COLORREF color
)

Params

hdc [In] Handle of device context.

color [In] Color to be matched.

Overview

Gets a system color to match.

Returns

Success: Color from system palette that corresponds to given color

Failure: CLR_INVALID

Implementation

Declared in "gdi_private.h".

Implemented in "dlls/gdi32/palette.c".

Debug channel "palette".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.