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

GPQICS - Inquire Input Character Set

GPQICS (wsid, class, device, errind, csid)

Note:

This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"

Purpose

Use GPQICS to inquire the current input character set for the specified input device on the specified workstation.

If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

class -- specified by user, fullword integer

Device class (1=LOCATOR, 2=STROKE, 3=VALUATOR, 4=CHOICE, 5=PICK, 6=STRING )

device -- specified by user, fullword integer

Device number.

errind -- returned by the graPHIGS API, fullword integer

Error indicator. If the error indicator is zero, the request has been completed. Otherwise, one of the following errors exists:
25
SPECIFIED WORKSTATION DOES NOT EXIST
38
WORKSTATION HAS ONLY OUTPUT CAPABILITIES
140
DEVICE NUMBER < ONE OR DEVICE NOT AVAILABLE
328
INPUT CLASS VALUE IS INVALID

csid -- returned by the graPHIGS API, fullword integer

Character set identifier.

See Appendix A. "Character Set and Font Identifiers" for more information.

Error Codes

None

Related Subroutines

GPICS
Set Input Character Set

RCP code

201338887 (X'0C003007')


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