At 6:31 PM -0700 7/31/09, Shawn Erickson wrote:
On Fri, Jul 31, 2009 at 3:39 PM, kvic...@pobox.com<kvic...@pobox.com> wrote:

 where interface and device are declared as follows:
        @property ( assign, nonatomic)  IOUSBDeviceInterface300** device;
        @property ( assign, nonatomic)  IOUSBInterfaceInterface300**
 interface;

Why are you use a pointer to a pointer (**) in above? I ask because
doing so seems a little strange and hence leads me to think you may
have a misunderstanding of pointers, etc. in some of the API you are
calling.

-Shawn

i'm using pointer to pointer (sometimes called handles) because that is what is required when using the usb aspects of the IOKit as demonstated in apple's sample code.

ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to