Mailing Lists: Apple Mailing Lists

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

How to obtain a device object from a device interface?



Hi,

If I have a HID Device Interface (IOHIDDeviceInterface), is there a straightforward way to obtain a reference to the device (io_object_t) itself?

Background: I use the HID Utilities sample code which stores information in a record for each device, including the HID Device Interface. In my own code I need to make a call to something that requires an io_object_t so I need a way to go from interface to object.

Thanks,

david.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



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.