INQUIRE NUMBER OF AVAILABLE LOGICAL INPUT DEVICES
CALL SEQUENCE
void pinq_num_avail_in(
Pint ws_type, /* workstation type */
Pint *error_ind, /* (out) error indicator */
Pnum_in *numbers /* (out) number of input devices */
)
TYPES
typedef struct {
Pint loc; /* number of locator devices */
Pint stroke; /* number of stroke devices */
Pint val; /* number of valuator devices */
Pint choice; /* number of choice devices */
Pint pick; /* number of pick devices */
Pint string; /* number of string devices */
} Pnum_in;
PHIGS STATE
(PHOP, *, *, *).
EFFECT
Returns the number of input devices in each class from the workstation
description table of type ws_type.
If the data is available, error indicator is returned as 0.
ERRORS
- 002
- Function ignored, system state must be (PHOP, *,*,*).
- 052
- Function ignored, workstation type not recognized by GPHIGS
- 051
- Function ignored, this data is not available for this type of workstation.
- 061
- Function ignored, specified workstation neither in INPUT category, nor
OUTIN category.
SEE ALSO
initialize locator, initialize stroke, initialize valuator, initialize choice,
initialize pick, initialize string.