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>setcolortable</b> set rgb color table entry http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SETCOLORTABLE        Set RGB Color Table Entry

short Escape(hDC, SETCOLORTABLE, NULL, lpInData, lpOutData)
HDC hDC;


LPSTR lpInData; /* To structure containing:
                WORD Index; /* Color table index */
                LONG rgb; /* Desired RGB value */

LPSTR lpOutData; /* to rgb value to be set by driver, indicating
                  best match possible */


Returns:        Positive if successful otherwise negative.

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