GPQNSP (wstype, errind, npri) |
Note:
This subroutine is a Workstation Description Table (WDT) inquiry. For an overview, see "WDT Inquiries"
Purpose
Use GPQNSP to inquire the number of the structure priorities supported for the specified workstation type.
When associating a structure to a view, the application specifies a structure priority, which is a real number between 0.0 and 1.0. The structures in each view are traversed in order, from lowest to highest priority.
The graPHIGS API returns values indicating the total number of supported structure priorities. For example, if a workstation uses a 4-bit mask to keep track of priorities, then it is able to support only 16 different priorities and must map the real number to one of 16 values. If a workstation can support a continuous range of structure priorities, then the inquiry returns a value of zero.
If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameter. If the inquired information is unavailable, then the error indicator (errind) contains the error number indicating the reason, and the values returned in the output parameter are unpredictable.
Parameters
Error Codes
None
Related Subroutines
RCP code
201339397 (X'0C003205')