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

INQUIRE VIEW FACILITIES (PHOP,*,*,*)

Purpose

Use Inquire View Facilities to inquire the view facilities for the specified workstation type.

The graPHIGS API returns data indicating the number of predefined view indexes on the workstation.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the number 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
57
Specified Workstation Is Of Category MI
62
This Information Not Available For MO Workstation Type

Language Bindings

C

pinq_view_facs (ws_type, err_ind, num_view_ind)

Input Parameters

Pint ws_type
Workstation type.

Output Parameters

Pint *err_ind
Error indicator.

Pint *num_view_ind
Number of predefined view indexes.

FORTRAN

PQVWF (wtype, errind, npvwi)

Input Parameters

integer wtype
Workstation type.

Output Parameters

integer errind
Error indicator.

integer npvwi
Number of predefined view indexes.

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type

  • Set View Representation


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