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

GPQRCT - Inquire Realized Connection and Type

GPQRCT (wsid, ilen, errind, olen, connid, wstype)

Note:

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

Purpose

Use GPQRCT to inquire the connection identifier and the realized workstation type of the specified workstation identifier. When you create a workstation using the Open Workstation (GPOPWS) subroutine, or the Create Workstation (GPCRWS) subroutine, the graPHIGS API assigns a workstation type. This type is the realized workstation type.

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 error indicator is 536 (the actual connection identifier is greater than the length of the area provided), then only the actual length (olen) of the connection identifier is returned. 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.

ilen -- specified by user, fullword integer

Length of the area provided to contain the connection identifier.

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
536
INQUIRY DATA EXCEEDS AREA. LENGTH OF REQUIRED AREA RETURNED

olen -- returned to user, fullword integer

Actual length of the connection identifier.

connid -- returned by the graPHIGS API variable length character string

Connection identifier.

wstype -- returned by the graPHIGS API 8-byte character string

Realized workstation type.

Error Codes

None

Related Subroutines

None

RCP code

201336850 ( X'0C002812')


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