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

INQUIRE WORKSTATION CLASSIFICATION (PHOP,*,*,*)

Purpose

Use Inquire Workstation Classification to inquire the display classification of the specified workstation type.

The graPHIGS API returns a value indicating the type of display technology utilized by the specified workstation type. Possible classifications include: VECTOR, RASTER, and OTHER.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the display classification in the output parameter. If the information is unavailable, then the value returned in the output parameter is unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

2
Function Requires State (PHOP,*,*,*)
52
Workstation Type Not Recognized By Implementation
51
Information Not Available For Generic Workstation Type
59
Specified Workstation Does Not Have Output Capability
62
This Information Not Available For MO Workstation Type

Language Bindings

C

pinq_ws_class (ws_type, err_ind, ws_class)

Input Parameters

Pint ws_type
Workstation type.

Output Parameters

Pint *err_ind
Error indicator.

Pws_class *ws_class
Workstation classification (0=PCLASS_VEC, 1=PCLASS_RASTER, 2=PCLASS_OTHER).

FORTRAN

PQWKCL (wtype, errind, vrtype)

Input Parameters

integer wtype
Workstation type.

Output Parameters

integer errind
Error indicator.

integer vrtype
Workstation classification (0=PVECTR, 1=PRASTR, 2=POTHWK).

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type


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