Allocates, initilizes a ColorMap structure and passes back the pointer. This enables you to do calls to SetRGB4() and LoadRGB4() to load colors for a view port. The ColorTable pointer in the ColorMap structure points to a hardware specific colormap data structure which you should not interpret.
INPUTS
entries
the number of entries for the colormap
RESULT
NULL - not enough memory could be allocated for the necessary data structures other - pointer to a initilized ColorMap structure that may be stored into the ViewPort.ColorMap pointer.
EXAMPLE
SEE ALSO
FreeColorMap SetRGB4() graphics/view.h
NOTES
BUGS
INTERNALS
RGB Colortable with preference values is incomplete.