pinq_open_struct(3g) — Subroutines
Name
pinq_open_struct − Returns the open structure status and structure identifier.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_open_struct (
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Popen_struct_status ∗status, /∗ (O) Open structure status ∗/
Pint ∗stid /∗ (O) Structure identifier ∗/
)
Data Structures
typedef enum {
PSTRUCT_NONE, /∗ no structures open ∗/
PSTRUCT_OPEN /∗ structures open ∗/
} Popen_struct_status;
Description
pinq_open_struct queries the structure state list and returns the open structure status and the structure identifier. If a structure is open, the returned structure status is PSTRUCT_OPEN and Digital PHIGS returns the identifier of the open structure as the structure identifier. If no structure is open, the returned structure status is PSTRUCT_NONE and the structure identifier is undefined.
See Also
pclose_struct
pinq_struct_st
pinq_struct_status
popen_struct