get colormap palette info
int GetPaletteInfo( string & strPal, DWORD & dwCntrl )
Returns 0 on successful or a negative number on failure if image matrix or there is no colormap.
MatrixObject::ApplyPalette
origin.h