Mailing Lists: Apple Mailing Lists

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

Lifespan of Configuration Descriptor



What is the lifespan of the descriptor data returned by IOUSBDeviceInterface.GetConfigurationDescriptorPtr()?

I'm assuming that the the data is in a cache owned by IOUSBLib, but I'd like to determine if I can have objects with pointers into the descriptors without caching a local copy.

I'm assuming that the data will be valid as long as the device is connected, but what if the device is unplugged while I have a reference to an IOUSBInterfaceInterface on the device, but not the device itself?

I can make a local copy if needed, but if IOUSBLib is going to retain the data for me, I can save a lot of unnecessary work and have cleaner code.

Thanks,

-Steve
_______________________________________________
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.