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
Getting Information About Ports /


OTGetUserPortNameFromPortRef

Returns a user-friendly name for a port.

C INTERFACE
void OTGetUserPortNameFromPortRef(OTPortRef ref,
                     Str255 friendlyName);
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
ref
A port reference
friendlyName
A string specifying the port's name.
DISCUSSION
For sample code showing the use of this function, see

SEE ALSO
"Obtaining Port Information"

The OTCreatePortRef function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998