[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

INQUIRE DEFAULT DISPLAY UPDATE STATE (PHOP,*,*,*)

Purpose

Use Inquire Default Display Update State to inquire the default values of the deferral state and modification mode for the specified workstation type.

For an explanation of the deferral states and modification modes see The graPHIGS Programming Interface: Understanding Concepts.

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
59
Specified Workstation Does Not Have Output Capability
62
This Information Not Available For MO Workstation Type

Language Bindings

C

pinq_def_disp_upd_st (ws_type, err_ind, def_mode, mod_mode)

Input Parameters

Pint ws_type
Workstation type.

Output Parameters

Pint *err_ind
Error indicator.

Pdefer_mode *def_mode
Default value for deferral mode (0=PDEFER_ASAP, 1=PDEFER_BNIG, 2=PDEFER_BNIL, 3=PDEFER_ASTI, 4=PDEFER_WAIT).

Pmod_mode *mod_mode
Default value for modification mode (0=PMODE_NIVE, 1=PMODE_UWOR, 2=PMODE_UQUM).

FORTRAN

PQDDUS (wtype, errind, defmod, modmod)

Input Parameters

integer wtype
Workstation type.

Output Parameters

integer errind
Error indicator.

integer defmod
Default value for deferral mode (0=PASAP, 1=PBNIG, 2=PBNIL, 3=PASTI, 4=PWAITD).

integer modmod
Default value for modification mode (0=PNIVE, 1=PUWOR, 2=PUQUM).

Errors

None

Related Subroutines


  • [ Previous | Next | Contents | Glossary | Home | Search ]
    ">

  • [ Previous | Next | Contents | Glossary | Home | Search ]