SHIdleTimerReset

4/8/2010

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

Syntax

void WINAPI SHIdleTimerReset();

Parameters

None.

Return Value

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

Header aygshell.h
Library aygshell.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone 2002 and later, Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Reference

Shell Functions
SHSendBackToFocusWindow