INQUIRE LIST OF LIGHT SOURCE INDICES
CALL SEQUENCE
void pinq_list_light_source_inds(
Pint ws_id, /* workstation identifier */
Pint length_appl_list, /* length of application list */
Pint start_pos, /* starting position */
Pint *error_ind, /* (out) error indicator */
Pint *indices, /* (out) list of defined light source indices */
Pint *length_list /* (out) length of list in PHIGS */
)
PHIGS STATE
(PHOP, WSOP,*,*)
EFFECT
Returns light source indices defined in workstation ws_id's workstation
state list. If the inquired information is available, the error indicator is
returned as 0 and values are returned in the output parameters.
If the inquired information is not available, the values returned in the output
parameters are implementation dependent and the error indicator is set to one
of the following error numbers to indicate the reason for non-availability:
ERRORS
- 3
Ignoring function, function requires state (PHOP, WSOP,*,*)
- 54
- Ignoring function, the specified workstation is not open
- 59
- Ignoring function, the specified workstation does not have output
capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
SEE ALSO
set light source representation.