INQUIRE LIGHT SOURCE FACILITIES
CALL SEQUENCE
void pinq_light_source_facs(
Pint ws_type, /* workstation type */
Pint length_appl_list, /* length of application list */
Pint start_pos, /* starting position */
Pint *error_ind, /* (out) error indicator */
Pint_list *types, /* (out) list of available light source types */
Pint *length_list /* (out) length of list in PHIGS */
Pint *max_lights, /* (out) maximum number of simultaneously active */
/* non-ambient light sources */
Pint *num_indices /* (out) number of predefined light source indices */
)
TYPES
typedef struct {
Pint num_ints; /* number of Pint in list */
Pint *ints; /* list of integers */
} Pint_list;
PHIGS STATE
(PHOP,*,*,*)
EFFECT
Returns the light source facilities offered by workstations of type
ws_type. 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
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 52
- Ignoring function, workstation type not recognized by the implementation
- 51
- Ignoring function, this information is not yet available for this generic
workstation type: open a workstation of this type and use the specific
workstation type
- 59
- Ignoring function, the specified workstation does not have output
capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
- 62
- Ignoring function, this information is not available for this MO
workstation type
SEE ALSO
set light source representation, inquire light source representation, inquire
predefined light source representation.