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

INQUIRE GENERALIZED STRUCTURE ELEMENT FACILITIES (PHOP,*,*,*)

Purpose

Use Inquire Generalized Structure Element Facilities to inquire the list of Generalized Structure Element (GSE) identifiers which are supported on the specified workstation. For each GSE identifier, the graPHIGS API returns a workstation dependent indicator which specifies if that particular GSE has actions which are workstation independent or workstation dependent.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to the following error:

2
Function Requires State (PHOP,*,*,*)

Language Bindings

C

pinq_gse_facs (num_elems_appl_list, start_ind, err_ind, gse, num_elems_impl_list)

Input Parameters

Pint num_elems_appl_list
Number of elements in the application list (>=0).

Pint start_ind
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pgse_id_dep_list *gse
List of GSE function identifiers and dependencies.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQGSEF (n, errind, ol, gseid, wsdind)

Input Parameters

integer n
Element requested from the list of GSEs (>=0).

Output Parameters

integer errind
Error indicator.

integer ol
Number of available GSEs.

integer gseid
GSE function identifier of the nth element in the list of available GSEs.

integer wsdind
Workstation dependency indicator of the nth element in the list of available GSEs (0=PWKI, 1=PWKD).

Errors

None

Related Subroutines

  • Generalized Structure Element


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