WPALETTE-SUPPORTED (op-code 1)

This determines the level of support the host machine provides for the W$PALETTE routine. Use this to determine if the host machine will allow you to perform certain operations.

WPALETTE-DATA is not used. The RESULT value will be one of the following:

WPAL-NO-SUPPORT (value 0) This value indicates that the host machine does not support palettes. Only the WPALETTE-SUPPORTED and WPALETTE-NUM-COLORS operations will function. Currently, this result is returned for all platforms other than Windows and Windows NT.
WPAL-PALETTE-SUPPORTED (value 1) This value indicates that all W$PALETTE functions are supported except for the WPALETTE-CHOOSE-COLOR function.
WPAL-FULL-SUPPORT (value 2) This value indicates that all W$PALETTE functions are available.