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

GPQACF - Inquire Actual Color Facilities

GPQACF (wsid, errind, model, ncolor, avcolor)

Purpose

Use GPQACF to inquire the actual color capabilities of the specified workstation.

The graPHIGS API returns the default color model, the maximum number of colors available, and data indicating if color is supported on 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:
3
FUNCTION REQUIRES STATE WSOP
25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES

model -- returned by the graPHIGS API, fullword integer

Color model (1=RGB, 2=HSV, 3=CMY )

ncolor -- returned by the graPHIGS API, fullword integer

Number of colors available (the total color palette size)

avcolor -- returned by the graPHIGS API, fullword integer

Color availability (1=MONOCHROME, 2=COLOR )

Error Codes

None

Related Subroutines

GPQCF
Inquire Color Facilities
GPQRCT
Inquire Realized Connection Type

RCP code

201336577 (X'0C002701')


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