next up previous contents
Next: Inquire current Viewport Up: Viewport Inquiry Subprograms Previous: Inquire whether Viewport

Inquire current Viewport Mode

This Subroutine returns the current Viewport Mode (Text or Graphics).

Short Name Calling Sequence

STATUS = UIIQVM(VPMODE)

Long Name Calling Sequence

STATUS = UI_INQUIRE_VIEWPORT_MODE(...)

Input Arguments

None

Output Arguments

VPMODE (Integer) Viewport Mode

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

Note:

  1. The VPMODE argument will be set to UI_VIEWTEXT_MODE or UI_GRAPHICS_MODE (see Appendix B.3), corresponding to Text or Graphics Viewport Mode.


Liz Buckle
Fri Jan 13 17:49:20 CST 1995