Gets a recent frame number of the bus to which the device is attached, along with a system time corresponding to the start of that frame
- macOS 10.5+
- Mac Catalyst 13.0+Beta
Pointer to the IOUSBDeviceInterface.
Pointer to UInt64 to hold the frame number.
Pointer to a returned AbsoluteTime, which is the system time ("wall time") as close as possible to the beginning of that USB frame. The jitter on this value may be as much as 200 microseconds.
Returns kIOReturnSuccess if successful, kIOReturnNoDevice if there is no connection to an IOService, or kIOReturnUnsupported is the bus doesn't support this function.
The device does not have to be open to use this function.