SetWakeTimer method
The SetWakeTimer method creates a timer that is set to wake a computer from any sleep state.
Syntax
HRESULT SetWakeTimer(
LONG WakeTimeInSec
);
Parameters
- WakeTimeInSec
The number of seconds from the time this method is called until the wake should occur. If the computer is still in the process of going to sleep when the time elapses, the wake timer will continue to fire every 10 seconds until the computer wakes up from a sleep state.
Return value
SetWakeTimer returns a standard HRESULT value.
See also
Send comments about this topic to Microsoft
Build date: 1/12/2012