Important: The information in this document is obsolete and should not be used for new development.
InitOpenTransportUtilities
Initializes only that part of Open Transport that handles ports and implements Open Transport utility functions.C INTERFACE
OSStatus InitOpenTransportUtilities(void);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
- function result
- A return value other than
kOTNoErrorindicates that the Open Transport is not installed.DISCUSSION
If you have called the functionInitOpenTransport, you do not need to call theInitOpenTransportUtilitiesfunction.Call the
InitOpenTransportUtilitiesfunction before calling Open Transport functions that manipulate ports or before calling Open Transport utility functions.SPECIAL CONSIDERATIONS
If your program uses the Apple Shared Library Manager (ASLM), you must call theInitLibraryManagerfunction to initialize ASLM before calling theInitOpenTransportUtilitiesfunction.SEE ALSO
TheInitOpenTransportfunction.The
Gestaltfunction, described in Inside Macintosh: Operating System Utilities. "The Gestalt Selector and Response Bits"."Initializing and Closing Open Transport.
The
CloseOpenTransportfunction.