Mailing Lists: Apple Mailing Lists

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

Re: Are elementCookies persistent?



Yes, the cookies are permanently set in the device's hardware. I
wouldn't suggest har-coding them though. Try using
IOHIDDeviceInterface122's copyMatchingElements instead of
IORegistryEntryCreateCFProperties. I think you'll find that it's more
efficient than trying to recurse through the properties tree yourself.

Here's some example code to illustrate its use:
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/workingwith/chapter_4_section_4.html#//apple_ref/doc/uid/TP40000970-TP30000105-BABGHGHH
 _______________________________________________
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.