0

在 IOUSBDeviceInterface 中有一个函数 GetConfigurationDescriptorPtr,用于获取指向配置描述符的指针。参考链接如下。

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

有没有像 GetDeviceDecriptorPtr 这样的函数来获取指向设备描述符的指针?

提前致谢..

4

1 回答 1

2

没有这个功能,但是我们研究USBProber的源代码时可以创建这个功能。

这是下载IOUSBFamily源代码的链接,其中包含USBProber。http://opensource.apple.com/tarballs/IOUSBFamily/

于 2011-10-31T09:33:02.307 回答