GetNearestColor(3w)

NAME

GetNearestColor (GDI32.@)

SYNOPSIS

COLORREF GetNearestColor
 (
  HDC      hdc,
  COLORREF color
 )

PARAMS

hdc [In] Handle of device context.

color [In] Color to be matched.

DESCRIPTION

Gets a system color to match.

RETURNS

Success: Color from system palette that corresponds to given color

Failure: CLR_INVALID

IMPLEMENTATION

Defined in "gdi_private.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/palette.c".

Debug channel "palette".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout