CALL "W$PALETTE" USING WPALETTE-NUM-COLORS                  GIVING returnCode  | 
WPALETTE-NUM-COLORS  | Constant  | 
>0   | Operation successful. It receives the number of colors the system can render simultaneously.  | 
WPERR-UNSUPPORTED  | The W$PALETTE library routine is not supported.  |