Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INQUIRE WORKSTATION STATE VALUE(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

INQUIRE WORKSTATION STATE VALUE − inquire state value of workstation

SYNOPSIS

C Syntax

void
pinq_ws_st ( ws_state )
Pws_st∗ws_state;OUT workstation state

Required PHIGS Operating States

(∗, ∗, ∗, ∗)

DESCRIPTION

Purpose

Use INQUIRE WORKSTATION STATE VALUE to determine the current state of the workstation. The state value can be either workstation open (PWS_ST_WSOP) or workstation closed (PWS_ST_WSCL). 

This function can be used to verify that OPEN WORKSTATION was successful before performing additional PHIGS operations on the workstation. 

C Output Parameters

ws_state
A pointer to an enumerated variable in which the current state of the workstation is returned. Pws_st is defined in phigs.h as follows:

typedef enum {
PWS_ST_WSCL, /∗ Workstation Closed ∗/
PWS_ST_WSOP/∗ Workstation Open ∗/
} Pws_st;

ERRORS

No Error

SEE ALSO

INQUIRE SET OF OPEN WORKSTATIONS (3P)
OPEN WORKSTATION (3P)
CLOSE WORKSTATION (3P)
INQUIRE SYSTEM STATE VALUE (3P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026