QuickSleep method
The QuickSleep method puts a computer in the specified sleep state and starts multiple wake timers to help the computer wake up very soon after it goes to sleep.
Syntax
HRESULT QuickSleep(
[in] LONG SleepState
);
Parameters
- SleepState [in]
The desired sleep state. This value must be in the range 1 (S1) to 4 (S4) inclusive.
Return value
QuickSleep returns a standard HRESULT value.
See also
Send comments about this topic to Microsoft
Build date: 1/12/2012