Purpose
Use Inquire Open Structure to inquire the identifier of the open structure.
If your application has opened a structure, then the open structure status is OPEN and the graPHIGS API returns the identifier of the open structure as a structure identifier. If your application has not opened a structure, then the graPHIGS API returns the open structure status as NONE and the structure identifier is undefined.
If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to the following error:
Language Bindings
pinq_open_struct (err_ind, status, struct_id) |
PQOPST (errind, stype, strid) |
Errors
None
Related Subroutines