GetNearestColor (GDI32.@)
COLORREF GetNearestColor ( HDC hdc, COLORREF color )
hdc | [In] | Handle of device context. |
color | [In] | Color to be matched. |
Gets a system color to match.
Success: Color from system palette that corresponds to given color
Failure: CLR_INVALID
Defined in "wingdi.h".
Implemented in "dlls/gdi/palette.c". source.winehq.org/source/dlls/gdi/palette.c
Debug channel "palette".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.