Purpose
Use Inquire Workstation Category to inquire the category of the specified workstation type.
The graPHIGS API returns the category of the workstation type indicating whether it is output (OUTPUT), input (INPUT), output and input (OUTIN), metafile output (MO), or metafile input (MI).
If the information is available, then the graPHIGS API sets the error indicator to zero and returns the workstation category in the output parameter. If the information is unavailable, then the value returned in the output parameter is unpredictable and the graPHIGS API sets the error indicator to one of the following errors:
Language Bindings
pinq_ws_cat (ws_type, err_ind, cat) |
PQWKCA (wtype, errind, wkcat) |
Errors
None
Related Subroutines