[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPQCML - Inquire Color Model

GPQCML (wsid, errind, model)

Note:

This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"

Purpose

Use GPQCML to inquire the current color model for the specified 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.

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

model -- returned by the graPHIGS API, fullword integer

Current color model (1=RGB, 2=HSV, 3=CMY, 4=CIELUV )

Error Codes

None

Related Subroutines

None

RCP code

201336833 (X'0C002801')


[ Previous | Next | Contents | Glossary | Home | Search ]