Important: The information in this document is obsolete and should not be used for new development.
OTGetBusTypeFromPortRef
Extracts the value of the bus type from a port reference.C INTERFACE
UInt16 OTGetBusTypeFromPortRef(OTPortRef ref);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
ref- The port reference from which you wish to extract the bus type.
- function result
- Possible return values are listed in "The Port Reference"
DISCUSSION
TheOTGetBusTypeFromPortReffunction extracts the bus type value from a port reference. You can obtain such a port reference using theOTGetIndexedPortfunction to access the port registry.You can use the
OTGetDeviceTypeFromPortReffunction and theOTGetSlotFromPortReffunction to get device type and slot number information from the port reference.SEE ALSO
TheOTCreatePortReffunction.