Important: The information in this document is obsolete and should not be used for new development.
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
TheOTGetProviderPortReffunction returns the port reference for the provider identified by therefparameter. If the function returnskOTInvalidPortRef, then either no port was associated with this provider or there were multiple associated ports and Open Transport did not know which to return.