[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE PATTERN FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Pattern Facilities
to inquire the pattern facilities for the
specified workstation type.
The graPHIGS API returns the number of predefined pattern indexes
for 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
- 59
- Specified Workstation Does Not Have Output Capability
- 62
- This Information Not Available For MO Workstation Type
Language Bindings
C
pinq_pat_facs
(ws_type,
err_ind, num_pred) |
Pint ws_typeWorkstation type.
Pint *err_indError indicator.
Pint *num_predNumber of predefined pattern indexes.
FORTRAN
PQPAF
(wtype, errind,
nppai) |
integer wtypeWorkstation type.
integer errindError indicator.
integer nppaiNumber of predefined pattern indexes.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]