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

GPSMCH - Sample Choice

GPSMCH (wsid, device, choice)

Purpose

Use GPSMCH to immediately retrieve the current measure of the specified choice device.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

device -- specified by user, fullword integer

Choice device number (>=1)

choice -- returned by the graPHIGS API, fullword integer

Choice number.

A choice number of zero means no choice.

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
140
DEVICE NUMBER < ONE OR DEVICE NOT AVAILABLE

Related Subroutines

GPCHMO
Set Choice Mode
GPQLI
Inquire List of Logical Input Devices

RCP code

201335556 (X'0C002304')


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