This function prevents the shell from reverting to the Home screen and locking the device, when it is called periodically.
void WINAPI SHIdleTimerReset();
To prevent the shell from reverting to the Home screen and locking the device, an application should call this function periodically. The minimum time-out that a user can specify in Settings is 10 seconds. Therefore, an application must call this function at least every 10 seconds to prevent the shell from reverting to the Home or Device lock. However, to conserve battery power, an application should call this function, on a timer, only while the user is performing operations. Otherwise, the application should allow the device to revert to Home or Device lock.
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Last updated on Friday, April 22, 2005
Send feedback on this topic to the authors.