1 | Color indication | Output | Char(1) |
2 | Low-level environment handle | Input | Binary(4) |
3 | Error code | I/O | Char(*) |
Color indication | Output | Binary(4) |
The Query Color Support (QsnQryColorSup) API determines whether the current display device supports color or not.
None.
Whether the device supports color or not. This information will be set based on the results of the 5250 Query command, if the display supports it; otherwise, certain defaults are assumed. See Device Support for details. The possible values are:
0 | Device does not support color |
1 | Device supports color |
The low-level environment that the operation applies to. If this parameter is omitted or given with a value of zero, the default low-level environment is used.
The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.
This API returns the value for the color indication parameter if successful, or -1 otherwise.
Message ID | Error Message Text |
---|---|
CPF24B4 E | Severe error while addressing parameter list. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPFA334 E | Low level environment handle incorrect. |
[ Back to top | Dynamic Screen Manager APIs | APIs by category ]