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: DeviceRequest endian swapping



At 9:55 AM -0600 11/22/05, Mark Cookson wrote:
However, I'm wondering about DeviceRequest's parameter block and wValue/wIndex.... ...Should we be putting these values in the same place on both big endian and little endian machines, or should we put them in a specific order for each endian type?

The latter. (They're treated as 16-bit values and swapped to host byte order.)

-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
References: 
 >DeviceRequest endian swapping (From: Mark Cookson <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.