PDA

View Full Version : Setting backlight in c#


gcd
20th January 2009, 09:03 AM
i'm trying to make a new program for changing backlight. i'm setting backlight in registry. however i can't fire "BacklightChangeEvent" in coredll. no exceptions, but it's not working until a soft reset. Also looked at htc_lib.dll but disassembling is not working. i can see the functions on dll but i can't see parameters so i can't call them:( i can't figure how htcs backlight.exe changes immeditely. its also changing the same registry key, but it probably fires an event which i couldn't find...

i saw in msdn telling that, every manifacturer should implement its own backlight driver...

is there any other way to set backlight in c#? or are there any tricks?

i'm using htc touch with 6.1 and .NET 3.5