NtGdiGetNearestColor (WIN32U.@)
COLORREF NtGdiGetNearestColor ( HDC hdc, COLORREF color )
Gets a system color to match.
Success: Color from system palette that corresponds to given color
Failure: CLR_INVALID
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 © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.