Log in

View Full Version : Power Control...


tsapiano
10-10-2003, 12:12 AM
Does anyone know how to control the power of the PDA from inside of software? I am working on a .NET CF project right now, and I need to prevent the PDA from shuting down (either automatic shutdown or the user accidentally trying to shut down). I am working with external network resources that are often driven by human opperators, so I can't just suspend the program as is nor can I really shut down the program right away. Additionally, it would be beneficial to be able to shut off the screen (or at least the backlight) from inside of the program to save battery life.

Anyway, I am not very familiar with the WinCE API (I just started coding and started out using the .NET CF), however I don't have any problems with PInvoke if it is absolutely necessary to achieve this goal. Additionally, are there any good quick references for looking API stuff like this up?

Anyone know of a solution?

BartF
02-10-2004, 05:22 PM
Hi,
To do so You need to start be familiary with Win CE APIs
as there is no other way as for now

Bart Filipski

http://pocketpcdev.webhop.info