Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot find kIOUSBInterfaceID...



I was reading over the documentation for doing bulk I/O from a USB device and found a problem in the sample code on the page. Here's the code

        //Now create the device interface for the interface

        result = (*plugInInterface)->QueryInterface(plugInInterface,

                    CFUUIDGetUUIDBytes(kIOUSBInterfaceID),

                    (LPVOID) &interface);


The code uses a constant kIOUSBInterfaceID which doesn't seem to exist outside of this code snippet. I searched the Apple website, the Internet as well as my hard drive and could find no other references to this constant. If this is not the correct constant, what is for creating a new USB interface?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.