void pinq_colr_facs(
Pint ws_type, /* workstation type */ Pint *error_ind, /* (out) error indicator */ Pcolr_facs *facilities /* (out) list of colour facilities */
)
typedef struct {
Pint num_colrs; /* number of colours */
Pcolr_avail colr_avail; /* availability of colours */
Pint num_pred_inds; /* number of predefined colour indices */
Pcieluv prim_colrs[3]; /* primary colours */
} Pcolr_facs;
typedef enum {
PAVAIL_MONOCHR,
PAVAIL_COLR
} Pcolr_avail;
typedef struct {
Pfloat cieluv_x; /* x coefficient */
Pfloat cieluv_y; /* y coefficient */
Pfloat cieluv_y_lum; /* y luminance */
} Pcieluv;
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: