CreatePalette The CreatePalette function creates a logical color palette.
VB4-32,5,6
Declare Function CreatePalette Lib "gdi32" Alias "CreatePalette" (lpLogPalette As LOGPALETTE) As Long |
VB.NET
System.Drawing.Imaging.ColorPalette |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- lplgpl
Points to a LOGPALETTE structure that contains information about the colors in the logical palette. |
If the function succeeds, the return value is a handle that identifies a logical palette.
If the function fails, the return value is NULL. To get extended error information, call GetLastError. |
|