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

INQUIRE LIST OF AVAILABLE WORKSTATION TYPES (PHOP,*,*,*)

Purpose

Use Inquire List of Available Workstation Types to inquire a list of available generic workstation types that can be opened. The workstation types returned are those which your application may use as a workstation type parameter to the Open Workstation subroutine

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_list_avail_ws_types (num_elems_appl_list, start_ind, err_ind, types, 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.

Pint_list *types
List of available workstation types.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQEWK (n, errind, number, wktyp)

Input Parameters

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer number
Number of workstation types.

integer wktyp
nth element in the list of available workstation types.

Errors

None

Related Subroutines

  • Open Workstation


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