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

INQUIRE SET OF OPEN WORKSTATIONS (PHOP,*,*,*)

Purpose

Use Inquire Set of Open Workstations to inquire the set of currently open workstations.

The graPHIGS API returns data indicating the total number of open workstation identifiers and the requested set of workstation identifiers.

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_open_wss (num_elems_appl_list, start_ind, err_ind, open_ws_ids, 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 *open_ws_ids
List of workstation identifiers.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQOPWK (n, errind, ol, wkid)

Input Parameters

integer n
Set member requested (>=0).

Output Parameters

integer errind
Error indicator.

integer ol
Number of open workstations.

integer wkid
nth member in the set of open workstations.

Errors

None

Related Subroutines

  • Open Workstation

  • Close Workstation


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