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

GPQOPS - Inquire Open Structure

GPQOPS (type, strid)

Note:

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

Purpose

Use GPQOPS to inquire the identifier of the open structure in the currently selected structure store.

If a structure is open, the graPHIGS API returns data indicating the type of open structure and the structure's identifier. If no structure is currently open, a type of 1=NIL is returned.

Parameters

type -- returned by the graPHIGS API, fullword integer

Type of open structure (1=NIL, 2=STRUCTURE )

strid -- returned by the graPHIGS API, fullword integer

Identifier of the open structure if type returned is 2=STRUCTURE If the value returned in the type parameter is 1=NIL , this parameter is not set by the graPHIGS API and should be ignored.

Error Codes

None

Related Subroutines

None

RCP code

201337094 (X'0C002906')


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