it will work. but what device exactly do you plan to support that has no backlight?
---- Best Regards, Dmitry Grinberg (847) 226 9295 On Thu, Sep 25, 2008 at 2:55 AM, Luc Le Blanc <[EMAIL PROTECTED]> wrote: > Jeff Loucks wrote: > >> Tam's sample code has the method. Here it is in one statement; > >> UInt32 temp; >> Boolean fHasSWBrightnessControl = >> FtrGet(sysFtrCreator,sysFtrNumHwrMiscFlags,&temp) == errNone >> && >> (temp & hwrMiscFlagHasBacklight) != 0 && >> FtrGet(sysFtrCreator,sysFtrNumHwrMiscFlagsExt,&temp) == >> errNone && >> (temp & hwrMiscFlagExtHasSWBright) != 0; > > > I assume the first part of the test determines whether there's a backlight. I > had this instead, how does it compare? > > if ( SysGetTrapAddress( sysTrapHwrBacklightV33 ) != SysGetTrapAddress( > sysTrapSysUnimplemented ) ) > > > Luc Le Blanc > > -- > For information on using the ACCESS Developer Forums, or to unsubscribe, > please see http://www.access-company.com/developers/forums/ > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
