I've been trying to set/query the exposure setting on the Zire with the following code:


err=CamLibControl(gCameraRefNum,kCamLibCtrlExposureGet,&myexposure);

where myexposure is defined as CamLibExposureType. I expected that the myexposure structure would contain the following information:

myexposure.type    = kCamLibExposureAuto or kCamLibExposureManual
myexposure.value   = actual setting
myexposure.minValue= minimum allowable setting
myexposure.maxValue= maximum allowable setting

When I query myexposure using the defined types (UInt32 for myexposure.type and Int32 for the rest) I get garbage - myexposure.maxValue appears to be the actual setting, and myexposure.type = 0 (ie, not Auto OR manual)!!

What am I missing here?

-Patrick


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to