INQUIRE DEFAULT DISPLAY UPDATE STATE(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE DEFAULT DISPLAY UPDATE STATE − inquire the default display update statefor a specified workstation type
SYNOPSIS
C Syntax
void
pinqdefdisplayupdatest ( type, error_ind, state )
Pwstypetype;workstation type
Pint∗error_ind;OUT error indicator
Pdefupdatest∗state;OUT update state
FORTRAN Syntax
SUBROUTINE pqddus ( WTYPE, ERRIND, DEFMOD, MODMOD )
INTEGERWTYPEworkstation type
INTEGERERRINDOUT error indicator
INTEGERDEFMODOUT default value for deferral mode
INTEGERMODMODOUT default value for modification mode
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE DEFAULT DISPLAY STATE to determine the default display update state for a specified workstation type. The display update state consists of a deferral mode and a modification mode.
See the description of the subroutine SET DISPLAY UPDATE STATE for information on the meaning of these modes.
C Input Parameters
type
Type of workstation.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
stateA pointer to a Pdefupdatest structure in which the system returns the default display update state for the specified workstation type. Pdefupdatest is defined in phigs.h as:
typedef struct {
Pdefmodedef_mode;/∗ deferral mode ∗/
Pmodmod_mode;/∗ modification mode ∗/
} Pdefupdatest;
The deferral mode, def_mode, is defined in phigs.h as:
typedef enum {
PASAP,As soon as possible
PBNIG,Before the next interaction globally
PBNIL,Before the next interaction locally
PASTI,At some time
PWAITWhen the application requests it
} Pdefmode;
The modification mode, mod_mode, is defined in phigs.h as:
typedef enum {
PNIVE,No immediate visual effects mandated
PUWOR,Update without regeneration
PUQUMUse quick update methods
} Pmod;
FORTRAN Input Parameters
WTYPE
Type of workstation.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
DEFMOD
The default deferral mode for the specified workstation type. Deferral mode values are enumerated values defined in phigs77.h as:
0PASAP,As soon as possible
1PBNIG,Before the next interaction globally
2PBNIL,Before the next interaction locally
3PASTI,At some time
4PWAITDWhen the application requests it
MODMOD
The default modification mode for the specified workstation type. Modification mode values are enumerated values defined in phigs77.h as:
0PNIVE,No immediate visual effects mandated
1PUWOR,Update without regeneration
2PUQUMUse quick update methods
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
052Ignoring function, workstation type not recognized by the implementation
051Ignoring function, this information is not yet available for this workstation type; open a workstation of this type and use the specific workstation type
062Ignoring function, this information is not available for this MO workstation type
SEE ALSO
SET DISPLAY UPDATE STATE (3P)
INQUIRE DISPLAY UPDATE STATE (3P)
Sun Release 4.0 — Last change: 1 August 1989