Instance Property

GetIOUSBLibVersion

Returns the version of the IOUSBLib and the version of the IOUSBFamily.

Declaration

IOReturn (*GetIOUSBLibVersion)(void *self, NumVersion *ioUSBLibVersion, NumVersion *usbFamilyVersion);

Parameters

self

Pointer to the IOUSBInterfaceInterface.

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.

Return Value

Returns kIOReturnSuccess if successful, kIOReturnNoDevice if there is no connection to an IOService.

Discussion

The interface does not have to be open to use this function.