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
TheOTGetBusTypeFromPortRef
function extracts the bus type value from a port reference. You can obtain such a port reference using theOTGetIndexedPort
function to access the port registry.You can use the
OTGetDeviceTypeFromPortRef
function and theOTGetSlotFromPortRef
function to get device type and slot number information from the port reference.SEE ALSO
TheOTCreatePortRef
function.