Subject: Re: Help! How to check whether backlight is on or off
From: "Aaron Ardiri" <[EMAIL PROTECTED]>

> its an undocumented API all, and, came around in 4.0 :)

my bad, its in 3.5 as well :)

$ cd /palmdev/sdk-3.5
$ grep -r HwrDisplayAttributes *
include/Core/CoreTraps.h:#define sysTrapHwrDisplayAttributes  0xA372
include/Core/CoreTraps.h:        sysTrapHwrDisplayAttributes,

if you want to use API, then you will have to do something like:

#define sysTrapHwrDisplayAttributes  0xA372
extern void HwrDisplayAttributes(Boolean set, UInt8 kind, void *)
  SYS_TRAP(sysTrapHwrDisplayAttributes);


Can I strongly suggest that a glue function be added to the next SDK to check whether the backlight is on or off.


Roger Stringer Marietta Systems, Inc. (www.RF-TP.com)


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

Reply via email to