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