Share via


SHIdleTimerReset

Send Feedback

This function prevents the shell from reverting to the Home screen or Today 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 or Today 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: Smartphone 2002 and later.
OS Versions: Windows CE 3.0 and later.
Header: aygshell.h.
Library: Aygshell.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.