Question

I'm getting started with IOKit on OS X, and I've been puzzled by the '245' tagged onto data types in the IOKit USB library, such as IOUSBInterfaceInterface245. What does the 245 mean? I'm just curious what this number tacked onto the end is supposed to indicate. It seems like a version number of something.

Is there a generic version that I can use, rather than having to use a specific version?

Was it helpful?

Solution

I believe that number refers to the IOUSBFamily version the struct is compatible with. Take a look at IOKit/usb/IOUSBLib.h for more details.

OTHER TIPS

i believe it is the usb interface interface that shipped with iousbfamily 2.4.5 ( os x tiger)

IOUSBInterfaceInterface is the 1st version and is available on every version but the newer ones like 245 add extra functionality, the number is added to the end to keep the old version for backward compatibility

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top