2011-10-06 4 views
0

IOUSBDeviceInterface 내부에 구성 설명자에 대한 포인터를 얻기위한 GetConfigurationDescriptorPtr 함수가 있습니다. 참조 용 링크가 아래에 나와 있습니다.Mac에 GetDeviceDescriptorPtr()과 같은 메소드가 있습니까?

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

장치 설명에 포인터를 얻기를위한 GetDeviceDecriptorPtr 같은 그러한 기능이 있습니까? 사전에

감사합니다 ..

답변

3

가 그러한 기능이 없지만, 우리가 USBProber의 소스 코드를 연구 할 때 우리가 그런 기능을 만들 수 있습니다.

IOUSBFamily의 소스 코드를 다운로드 할 수있는 링크입니다. 여기에 USBProber가 포함되어 있습니다. http://opensource.apple.com/tarballs/IOUSBFamily/

관련 문제