Is there a method like GetDeviceDescriptorPtr() in Mac?
Pregunta
There is a function GetConfigurationDescriptorPtr, for getting pointer to configuration descriptor, inside IOUSBDeviceInterface. Link for reference is given below.
Is there any such function like GetDeviceDecriptorPtr for getting pointer to device descriptor?
Thanks in advance..
Solución
There is no such function, but we can create such function when we study the source code of USBProber.
Here is link to download the source code of IOUSBFamily, with USBProber inside it. http://opensource.apple.com/tarballs/IOUSBFamily/
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow