[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPDNC - Disconnect Nucleus
Purpose
Use
GPDNC to disconnect a graPHIGS nucleus from
your application All of the resources of the nucleus become
unavailable to your application.
The following actions are performed:
If the structure state is Structure Open (STOP) and the currently
selected structure store is a resource of the specified
nucleus, the structure is closed.
As a result, the structure state becomes Structure Close (STCL)
If the structure state is Structure Close (STCL) and the currently
selected structure store is a resource of the specified
nucleus, the structure store identifier is removed from the
currently selected structure store entry of the graPHIGS API
state list.
As a result, the structure state becomes Structure Store Open (SSOP)
All resources of the specified nucleus are detached
from the shell.
If there remains no structure store or no workstation
attached to the shell, the structure state or workstation
state becomes Structure Store Close (SSCL) or Workstation Close (WSCL), respectively.
Parameters
ncid -- specified by user, fullword integer
Nucleus identifier.
Error Codes
- 202
- SPECIFIED NUCLEUS DOES NOT EXIST
Related Subroutines
- GPCNC
- Connect Nucleus
- GPQCNC
- Inquire List of Connected Nuclei
RCP code
201337602
(X'0C002B02')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]