SetSleepState method
The SetSleepState method sends a computer to the sleep state that was previously specified by a call to the Console::SetSleepStateInfo method or the Console::SetSleepStateInfoEx method.
Syntax
HRESULT SetSleepState();
Parameters
This method has no parameters.
Return value
SetSleepState returns a standard HRESULT value.
See also
Send comments about this topic to Microsoft
Build date: 1/12/2012