Mailing Lists: Apple Mailing Lists

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

IOUSBCompletion Data flow



I'm looking to convert a synchronous Read to asynchronous with the
IOUSBCompletionAction  callback.

>From the documentation, I've not been able to figure out the data path.
http://developer1.apple.com/documentation/Darwin/Reference/IOKit/USB/CompositePage.html

I'm expecting to pass in a "this" reference  in order to save the data
within the callback  Which is the correct pointer: target or
parameter?

What do I set the parameter (or is it target?) value to when
initializing a IOUSBCompletion?

What do I dereference the parameter (or target) value to in order to
get at the USB data?

A data flow example would be greatly appreciated.

Thanks,

Dean Goodmanson
 _______________________________________________
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.