CreatePalette

Version 3.0

Syntax

HPALETTE CreatePalette(lpLogPalette)

This function creates a logical color palette.

Parameter Type/Description  
lpLogPalette LPLOGPALETTE Points to a LOGPALETTE data structure that contains information about the colors in the logical palette.  

Return Value

The return value identifies a logical palette if the function was successful. Otherwise, it is NULL.