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 /


OTGetProviderPortRef

Identifies the port associated with a given provider.

C INTERFACE
OTPortRef OTGetProviderPortRef(ProviderRef ref);
C++ INTERFACE
OTPortRef TProvider::GetOTPortRef();

PARAMETERS
ref
The provider for which you wish to obtain the port.
function result
See Discussion.
DISCUSSION
The OTGetProviderPortRef function returns the port reference for the provider identified by the ref parameter. If the function returns kOTInvalidPortRef, then either no port was associated with this provider or there were multiple associated ports and Open Transport did not know which to return.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998