On 6/29/05 3:08 PM, "Barry Twycross" <email@hidden> wrote:
>> I do a IOUSBDevice::SetConfiguration(1) to get the second interface
>> (because the parameter is an index, not a value -- important safety
>> tip), but then calls to IOUSBDevice::FindNextInterface() fail to
>> find the last interface.
>
> Are you totally sure of that? I'm expecting, and looking in the
> source backs this up, that the parameter to SetConfiguration is the
> configuration value, not an index.
Nope, never sure of anything I've only been looking at for a day. :-)
Hey, what do you know... While I was in there changing my descriptor
dumping code to use x-1 I got over zealous and changed my SetConfiguration
code to x-1 as well and that was the source of all my confusion.
Argh, only down a day though...
Thanks a lot for your help! That was the slap on the forehead that I
needed.
--
Mark Cookson
M-Audio, a part of Avid
225 Locust St.
Hudson, WI 54016
_______________________________________________
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