void pinq_def_val_data(
Pint ws_type, /* workstation type */ Pint device, /* logical device number */ Pstore store, /* handle to Store object */ Pint *error_ind, /* (out) error indicator */ Pfloat *def_value, /* (out) default initial value */ Pint_list **pets, /* (out) list of prompt/echo type */ Plimit *echo, /* (out) echo area */ Pval_data **val_data_rec /* (out) data record */
)
typedef void * Pstore;
typedef struct {
Pfloat x; /* x coordinate */
Pfloat y; /* y coordinate */
} Ppoint;
typedef struct {
Pint num_ints; /* number of Pints in list */
Pint *ints; /* list of integers */
} Pint_list;
typedef struct {
Pfloat x_min; /* minimum x */
Pfloat x_max; /* maximum x */
Pfloat y_min; /* minimum y */
Pfloat y_max; /* maximum y */
} Plimit;
typedef struct {
Pfloat low_value; /* low value of valuator range */
Pfloat high_value; /* high value of valuator range */
union Pval_pets {
struct Pval_pet_r1 {
char *string;
} pet_r1;
Pint impl_dep;
} pets;
} Pval_data;
The data is read from the workstation description table of type ws_type.
The memory referenced by *val_data_rec is managed by store.