INQUIRE WORKSTATION CLASSIFICATION
CALL SEQUENCE
void pinq_ws_class(
Pint ws_type, /* workstation type */
Pint *error_ind, /* (out) error indicator */
Pws_class *class /* (out) workstation class */
)
TYPES
typedef enum {
PCLASS_VEC,
PCLASS_RASTER,
PCLASS_OTHER
} Pws_class;
PHIGS STATES
(PHOP, *, *, *).
EFFECT
Returns the workstation class for the specified type. If the data is
available, error indicator is returned as 0.
The data is read from the workstation description table of type
ws_type.
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.
- 059
- Function ignored, specified workstation has no output function (i.e., it is
not in the OUTPUT, OUTIN, or MO category).
- 062
- Function ignored, this data is not authorized for this MO category
workstation.
SEE ALSO
open workstation.