fxPaletteIndex
Macro accepts an index to a logical-color palette entry and returns a palette-entry specifier consisting of a COLORREF value that specifies the color associated with the given index. An application using a logical palette can pass this specifier, instead of an explicit red, green, blue (RGB) value, to GDI functions that expect a color. This allows the function to use the color in the specified palette entry.
Declaration
Declare Function fxPaletteIndex Lib "fx.dll" ( _ ByVal Index As Long) As Long
Parameters
· Index Specifies the intensity of the red color field.
Return Values