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 "ntgdi.h". https://source.winehq.org/source/include/ntgdi.h

Implemented in "dlls/win32u/palette.c". https://source.winehq.org/source/dlls/win32u/palette.c

Debug channel "palette".


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