[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQCCH - Inquire Color Table Characteristics
GPQCCH
(wsid,
ctid,
errind,
model,
length) |
Note:
This subroutine is a Workstation State List (WSL)
inquiry.
For an overview, see
"WSL Inquiries"
Purpose
Use
GPQCCH to inquire the current characteristics
of the specified color table on the workstation.
If the inquired information is available, then the graPHIGS API
sets the error indicator to zero and returns the values in
the output parameters.
If the inquired information is unavailable, then the error
indicator (errind) contains an error number indicating the
reason, and the values returned in the output parameters are
unpredictable.
Parameters
wsid -- specified by user, fullword integer
Workstation identifier.
ctid -- specified by user, fullword integer
Color table identifier
(-1=DISPLAY_COLOR_TABLE_MODIFIABLE, 0=RENDERING_COLOR_TABLE_MODIFIABLE
)
errind -- returned by the graPHIGS API, fullword integer
Error indicator. If the error indicator is zero, the request has been
completed. Otherwise, one of the following errors exists:
- 25
- SPECIFIED WORKSTATION DOES NOT EXIST
- 35
- WORKSTATION HAS ONLY INPUT CAPABILITIES
- 284
- COLOR TABLE IDENTIFIER DOES NOT EXIST
model -- returned by the graPHIGS API, fullword integer
Color model
(1=RGB, 2=HSV, 3=CMY, 4=CIELUV
)
length -- returned by the graPHIGS API, fullword integer
Length of the color table in log2
Error Codes
None
Related Subroutines
- GPQCID
- Inquire List of Color Table Identifiers
- GPXCR
- Set Extended Color Representation
RCP code
201339144
(X'0C003108')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]