[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE WORKSTATION CONNECTION AND TYPE (PHOP,WSOP,*,*)
Purpose
Use
Inquire Workstation Connection and Type
to inquire the connection identifier and the realized
workstation type of the specified workstation identifier.
The realized workstation type is the type assigned
by the graPHIGS API
when the workstation is created by
the Open Workstation subroutine.
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 one of the following errors:
- 3
- Function Requires State (PHOP,WSOP,*,*)
- 54
- Specified Workstation Is Not Open
Language Bindings
C
pinq_ws_conn_type
(ws_id, store,
err_ind, conn_id, ws_type) |
Pint ws_idWorkstation identifier.
Pstore storeHandle to the Store identifier.
The graPHIGS API uses an object of type Store to facilitate
the use of subroutines which return complex data.
See Create Store
(
CREATE STORE (PHOP,*,*,*))
subroutine for details on how the graPHIGS API uses
this parameter on inquiries.
Pint *err_indError indicator.
void **conn_idConnection identifier.
The memory referenced by *conn_id
is managed by the parameter store.
Pint *ws_typeWorkstation type.
FORTRAN
PQWKC
(wkid, errind, conid,
wtype) |
integer wkidWorkstation identifier.
integer errindError indicator.
integer conidConnection identifier.
integer wtypeWorkstation type.
Errors
None
Related Subroutines
None
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]