Idle timer on pocket pc
Posted: Oct 11, 2006 @ 6:33pm
I read up on msdn about how to setup a dll for execution in the services process on pocket pc. What I'm trying to accomplish is set up a simple service that will launch a screensaver after a set amount of idle time on the device.
Problem is, there doesnt seem any way to determine how long the device has been idle. I've seen a call for resetting the idle timer, and registry keys for determining when the idle timer should kick in. But I want to intercept that, or implement my own idle timer.
How do I properly determine how long the device has been idle? Do I need to monitor events myself, and can that be done in a dll? Maybe a hidden api call to see how long the device has been idle?
Problem is, there doesnt seem any way to determine how long the device has been idle. I've seen a call for resetting the idle timer, and registry keys for determining when the idle timer should kick in. But I want to intercept that, or implement my own idle timer.
How do I properly determine how long the device has been idle? Do I need to monitor events myself, and can that be done in a dll? Maybe a hidden api call to see how long the device has been idle?