[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE DEFAULT CHOICE DEVICE DATA (PHOP,*,*,*)
Purpose
Use
Inquire Default Choice Device Data
to inquire the default values for a specified
choice device for the specified workstation type.
The graPHIGS API returns the default values for the requested
choice device.
For more information on the defaults, see The graPHIGS Programming Interface: Technical Reference.
If the information is available, then the graPHIGS API sets
the error indicator to zero and returns the values in
the output parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error indicator
to one of the following errors:
- 2
- Function Requires State (PHOP,*,*,*)
- 52
- Workstation Type Not Recognized By Implementation
- 51
- Information Not Available For Generic Workstation Type
- 61
- Specified Workstation Is Not Of Category Input Or Outin
- 250
- Specified Device Not Available On Workstation
Language Bindings
C
pinq_def_choice_data
(ws_type,
choice_num, store, err_ind, max_choices, pet_list,
echo_area, choice_data) |
Pint ws_typeWorkstation type.
Pint choice_numChoice device number
(>=1).
Pstore storeHandle to the Store object.
The graPHIGS API uses an object of type Store to facilitate
the use of subroutines which return complex data.
See Create Store
CREATE STORE (PHOP,*,*,*)
subroutine for details on how the graPHIGS API uses
this parameter on inquiries.
Pint *err_indError indicator.
Pint *max_choicesMaximum number of choice alternatives.
Pint_list **pet_listList of prompt and echo types.
The memory referenced by *pet_list is
managed by the parameter store.
Plimit *echo_areaDefault echo area in DC.
Pchoice_data **choice_dataDefault choice data record.
The memory referenced by *choice_data is
managed by the parameter store.
FORTRAN
PQDCH
(wtype, devno, n,
mldr, errind, malt, ol,
pet, earea, ldr,
datrec) |
integer wtypeWorkstation type.
integer devnoChoice device number
(>=1).
integer nList element requested
(>=0).
integer mldrDimension of data record array
(>=0).
integer errindError indicator.
integer maltMaximum number of choice alternatives.
integer olNumber of available prompt and echo types.
integer petnth element of the list of
the available prompt and echo types.
real earea(4)Default echo area in DC
(XMIN, XMAX, YMIN, YMAX).
integer ldrNumber of array elements used in the data record.
character*80 datrec(mldr)Default choice data record.
Errors
None
Related Subroutines
Initialize Choice
Initialize Choice 3
Inquire Choice Device State
Inquire Choice Device State 3
Inquire Default Choice Device Data 3
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]