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

GPQFBC - Inquire Frame Buffer Characteristics

GPQFBC (wstype, errind, org, n, depth)

Note:

This subroutine is a Workstation Description Table (WDT) inquiry. For an overview, see "WDT Inquiries"

Purpose

Use GPQFBC to inquire frame buffer characteristics for the specified workstation.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameter. If the inquired information is unavailable, then the error indicator (errind) contains the error number indicating the reason, and the values returned in the output parameter are unpredictable.

Parameters

wstype -- specified by user, 8-byte character string

Workstation type.

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:
23
SPECIFIED WORKSTATION TYPE DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
548
SPECIFIED WORKSTATION TYPE CANNOT BE LOADED

org -- returned by the graPHIGS API, fullword integer

Frame buffer organization (1=COMPONENT, 2=INDEXED )

n -- returned by the graPHIGS API, fullword integer

Number of frame buffer components (>=0)

depth -- returned by the graPHIGS API, array of fullword integers

List of bit depths for frame buffer components. For this parameter, the application must supply an array large enough to contain the maximum entries which may be returned. A component frame buffer has three components. An indexed frame buffer has one component.

Error Codes

None

Related Subroutines

GPQRCT
Inquire Realized Connection Type
GPRDFB
Read Frame Buffer

RCP code

201339407 (X'0C00320F')


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