Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 26 - Ports Reference / Functions
Registering New Ports /


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. Use OTChangePortState function if that is not desirable. Because a single OTPortRef can be registered with several names, Open Transport needs to use the portName rather than the OTPortRef to disambiguate.

SEE ALSO
The OTRegisterPort function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998