2008年1月31日 星期四

create matching directory

I/O Kit dictionary-creation function

IOServiceMatching:
creates a dictionary you can use to match on an object’s class or superclass.
use IOProviderClass key

ex:
CFMutableDictionaryRef myUSBMatchDictionary = NULL;
myUSBMatchDictionary = IOServiceMatching(kIOUSBDeviceName);

沒有留言: