ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOUSBDeviceInterface197 |
Inherits from: | IOUSBDeviceInterface187 |
Declared In: |
The object you use to access USB devices from user space, returned by the IOUSBFamily version 1.9.7 and above.
The functions listed here include all of the functions defined for the IOUSBDeviceInterface, IOUSBDeviceInterface182, IOUSBDeviceInterface187, and some new functions that are available on Mac OS X version 10.2.3 and later.
Gets the current micro frame number of the bus to which the device is attached.
Returns the version of the IOUSBLib and the version of the IOUSBFamily.
GetBusMicroFrameNumber |
Gets the current micro frame number of the bus to which the device is attached.
IOReturn ( *GetBusMicroFrameNumber)( void *self, UInt64 *microFrame, AbsoluteTime *atTime);
self
Pointer to the IOUSBDeviceInterface.
microFrame
Pointer to UInt64 to hold the microframe number.
atTime
Pointer to an AbsoluteTime, which should be within 1ms of the time when the bus frame number was acquired.
Returns kIOReturnSuccess if successful, kIOReturnNoDevice if there is no connection to an IOService.
The device does not have to be open to use this function.
GetIOUSBLibVersion |
Returns the version of the IOUSBLib and the version of the IOUSBFamily.
IOReturn ( *GetIOUSBLibVersion)( void *self, NumVersion *ioUSBLibVersion, NumVersion *usbFamilyVersion);
self
Pointer to the IOUSBDeviceInterface.
ioUSBLibVersion
Pointer to a NumVersion structure that on return will contain the version of the IOUSBLib.
usbFamilyVersion
Pointer to a NumVersion structure that on return will contain the version of the IOUSBFamily.
Returns kIOReturnSuccess if successful, kIOReturnNoDevice if there is no connection to an IOService.
The device does not have to be open to use this function.
|
Last Updated: 2009-02-23