문제

There is a function GetConfigurationDescriptorPtr, for getting pointer to configuration descriptor, inside IOUSBDeviceInterface. Link for reference is given below.

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/IOKit/IOUSBLib_h/Classes/IOUSBDeviceInterface/index.html#//apple_ref/doc/com/intfm/IOUSBDeviceInterface/GetConfigurationDescriptorPtr

Is there any such function like GetDeviceDecriptorPtr for getting pointer to device descriptor?

Thanks in advance..

도움이 되었습니까?

해결책

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/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top