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. UseOTChangePortStatefunction if that is not desirable. Because a singleOTPortRefcan be registered with several names, Open Transport needs to use theportNamerather than theOTPortRefto disambiguate.SEE ALSO
TheOTRegisterPortfunction.