Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>getnearestcolor</b> get closest logical color for device http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetNearestColor      Get Closest Logical Color For Device

DWORD GetNearestColor(hDC, rgbColor)
HDC hDC;
DWORD rgbColor; /* Desired color */

Returns:        Nearest RGB color value to desired color that this
                device can represent.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson