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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software