INQUIRE WORKSTATION CLASSIFICATION(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE WORKSTATION CLASSIFICATION − inquire the classification of a specified workstation type
SYNOPSIS
C Syntax
void
pinqwsclass ( type, error_ind, class )
Pwstypetype;workstation type
Pint∗error_ind;OUT error indicator
Pwsclass∗class;OUT workstation class
FORTRAN Syntax
SUBROUTINE pqwkcl ( WTYPE, ERRIND, VRTYPE )
INTEGERWTYPEworkstation type
INTEGERERRINDOUT error indicator
INTEGERVRTYPEOUT vector/raster/other type
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE WORKSTATION CLASSIFICATION to determine the classification of a specified workstation type.
C Input Parameters
type
Type of workstation.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
classA pointer to a Pwsclass enumerated variable in which the system returns the workstation class. Values for Pwsclass are defined in phigs.h as follows:
PVECTORVector Device
PRASTERRaster Device
POTHEROther Device
FORTRAN Input Parameters
WTYPE
Type of workstation.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
VRTYPE
The workstation class, defined in phigs77.h as follows:
PVECTRVector Device
PRASTRRaster Device
POTHWKOther Device
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
052Ignoring function, workstation type not recognized by the implementation
051Ignoring function, this information is not yet available for this workstation type; open a workstation of this type and use the specific workstation type
059Ignoring function, the specified workstation does not have output capability (i.e., the workstation category is neither OUTPUT, OUTIN, nor MO)
062Ignoring function, this information is not available for this MO workstation type
SEE ALSO
PHIGS WORKSTATION DESCRIPTION TABLE (7P)
INQUIRE WORKSTATION CATEGORY (3P)
INQUIRE DISPLAY SPACE SIZE (3P)
Sun Release 4.0 — Last change: 1 August 1989