Important: The information in this document is obsolete and should not be used for new development.
OTUnregisterPort
Unregisters a port.C INTERFACE
OSStatus OTUnregisterPort(const char* portName, void**);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
portName
- The name of the port you want to unregister.
- function result
- See Appendix B.
DISCUSSION
If you re-register the port, it might get a different name. UseOTChangePortState
function if that is not desirable. Because a singleOTPortRef
can be registered with several names, Open Transport needs to use theportName
rather than theOTPortRef
to disambiguate.SEE ALSO
TheOTRegisterPort
function.