Back Light API for Pocket PC 2002

G

Guest

Hi,
I am looking for the API to set the time of Inactivity after which the Back
light of the Pocket PC 2002 will be turned off.

Can any one tell me where can i get that API or send me that API.

thanks in Advance,
Murthy Rayudu
 
F

Fabien Decret

Hi,
you can use the registry :
HKEY_CURRENT_USER\ControlPanel\Backlight
and change the value : BatteryTimeout = DWORD and ACTimeout = DWORD in
seconds.
BR.

Fabien Decret
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



Sergey Bogdanov said:
Not sure if it helps but try this sample:
http://www.sergeybogdanov.com/Samples/Backlight.zip

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Hi,
I am looking for the API to set the time of Inactivity after which the
Back light of the Pocket PC 2002 will be turned off.

Can any one tell me where can i get that API or send me that API.

thanks in Advance,
Murthy Rayudu
 
G

Guest

Hi,
Thanks for your reply.
This is what i am looking for.

But can you tell me how i can change the windows registry in a Pocket PC
2002 Device using C#.

Thanks in Advance,
Murthy

Fabien Decret said:
Hi,
you can use the registry :
HKEY_CURRENT_USER\ControlPanel\Backlight
and change the value : BatteryTimeout = DWORD and ACTimeout = DWORD in
seconds.
BR.

Fabien Decret
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



Sergey Bogdanov said:
Not sure if it helps but try this sample:
http://www.sergeybogdanov.com/Samples/Backlight.zip

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Hi,
I am looking for the API to set the time of Inactivity after which the
Back light of the Pocket PC 2002 will be turned off.

Can any one tell me where can i get that API or send me that API.

thanks in Advance,
Murthy Rayudu
 
P

Paul G. Tobey [eMVP]

Use OpenNETCF SDF. We have registry classes in there. There have also been
previous posts to this group showing the P/Invoke declarations, if you don't
see what you want in the OpenNETCF SDF source, I'm sure...

Paul T.

Murthy said:
Hi,
Thanks for your reply.
This is what i am looking for.

But can you tell me how i can change the windows registry in a Pocket PC
2002 Device using C#.

Thanks in Advance,
Murthy

Fabien Decret said:
Hi,
you can use the registry :
HKEY_CURRENT_USER\ControlPanel\Backlight
and change the value : BatteryTimeout = DWORD and ACTimeout = DWORD in
seconds.
BR.

Fabien Decret
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



Sergey Bogdanov said:
Not sure if it helps but try this sample:
http://www.sergeybogdanov.com/Samples/Backlight.zip

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Murthy wrote:
Hi,
I am looking for the API to set the time of Inactivity after which the
Back light of the Pocket PC 2002 will be turned off.

Can any one tell me where can i get that API or send me that API.

thanks in Advance,
Murthy Rayudu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top