SHIdleTimerReset

This function prevents the shell from reverting to the Home screen and locking the device, when it is called periodically.

void WINAPI SHIdleTimerReset();

Parameters

None.

Return Values

None.

Remarks

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.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: tpcshell.h
Library: aygshell.lib

See Also

SHSendBackToFocusWindow

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.