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

INQUIRE NUMBER OF AVAILABLE LOGICAL INPUT DEVICES (PHOP,*,*,*)

Purpose

Use Inquire Number of Available Logical Input Devices to inquire the number of available logical input devices at the specified workstation.

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 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
61
Specified Workstation Is Not Of Category Input Or Outin

Language Bindings

C

pinq_num_avail_in (ws_type, err_ind, num_in)

Input Parameters

Pint ws_type
Workstation type.

Input Parameters

Pint *err_ind
Error indicator.

Pnum_in *num_in
Number of input devices.

FORTRAN
PQLI (wtype, errind, nlcd, nskd, nvld, nchd, npkd, nstd)

Input Parameters

integer wtype
Workstation type.

Output Parameters

integer errind
Error indicator.

integer nlcd
Number of locator devices.

integer nskd
Number of stroke devices.

integer nvld
Number of valuator devices.

integer nchd
Number of choice devices.

integer npkd
Number of pick devices.

integer nstd
Number of string devices.

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type


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