CloseOpenTransport
Shuts down the Open Transport software when you are finished using it.C INTERFACE
void CloseOpenTransport(void);C++ INTERFACES
None. C++ applications use the C interface to this function.DESCRIPTION
TheCloseOpenTransportfunction closes the Open Transport software, which tells Open Transport that your client has finished using it. Stand-alone code segments must use this function before they unload from memory.When applications finish using Open Transport, they have the option of using this function to unload the Open Transport software modules without stopping execution if they have other tasks to perform that do not require Open Transport; otherwise, applications don't need to use this function.
SPECIAL CONSIDERATIONS
If your client uses the Apple Shared Library Manager, you must call theCleanupLibraryManagerfunction before calling theCloseOpenTransportfunction.System software cannot unload Open Transport until the last software
module on your computer that called theInitOpenTransportorInitOpenTransportUtilitiesfunction has also called theCloseOpenTransportfunction.If your client is not an application, you must be sure to call the
CloseOpenTransportfunction before unloading from memory.SEE ALSO
To initialize all of the Open Transport software, call theInitOpenTransportfunction (page 6-23).To initialize only the port-handling part of Open Transport, call the
InitOpenTransportUtilitiesfunction (page 6-25).For more information about initializing Open Transport, see the section "Initializing Open Transport" (page 6-9).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help