Important: The information in this document is obsolete and should not be used for new development.
CloseComponentfunction terminates your application's access to the services provided by a component. Your application specifies the connection to be closed with the component instance returned by the
FUNCTION CloseComponent (aComponentInstance: ComponentInstance): OSErr;
- A component instance that specifies the connection to close. Your application obtains the component instance from the
OpenComponentfunction or the
CloseComponentfunction closes only a single connection. If your application has several connections to a single component, you must call the
CloseComponentfunction once for each connection.
noErr 0 No error invalidComponentID -3000 No component with this component identifier
SEE ALSOFor a description of the
OpenComponentfunctions, see page 6-42 and page 6-44, respectively.