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: need desperate help!!



thks barry for the invaluable advice!!!
sorry for bothering u guys again but then
was just wondering for the ControlRequest method, how
do i know the values of request.wValue,etc. i have
already read through the documentations but they are
kind of profound so could anyone explain a little more
in dept to me? Thanks!!! :-) 


OUSBDevRequest   request;
char              *readbuffer;

request.bmRequestType = USBmakebmRequestType(kUSBIn,
kUSBVendor,
kUSBDevice);
request.bRequest = GET_LUM_CTL; // 
request.wValue = BRIGHTNESS_FORMATTER; // 
request.wIndex = 0;
request.wLength = 0;
request.pData = &readbuffer;

result = (*intf)->ControlRequest(intf, 0, &request);




		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
 _______________________________________________
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: 
 >Re: need desperate help!! (From: Barry Twycross <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.