NAME

NtGdiGetNearestColor  (WIN32U.@)

SYNOPSIS

 COLORREF NtGdiGetNearestColor
 (
  HDC      hdc,
  COLORREF color
 )

DESCRIPTION

Gets a system color to match.

RETURNS

Success: Color from system palette that corresponds to given color

Failure: CLR_INVALID

IMPLEMENTATION

Declared in "include/ntgdi.h". gitlab.winehq.org/wine/wine/blob/master/include/ntgdi.h

Implemented in "dlls/win32u/palette.c". gitlab.winehq.org/wine/wine/blob/master/dlls/win32u/palette.c

Debug channel "palette".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.