GetPortStatus
Returns the current port status of the device.
Declaration
virtual kern_return_t GetPortStatus(uint32_t *portStatus);Parameters
- portStatus:
A pointer to a variable. On output, the variable contains the port status. For a list of possible values, see Tiousbhostportstatus.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.