Hibernate method

The Hibernate method sends a computer into hibernation.

Syntax

HRESULT Hibernate();

Parameters

This method has no parameters.

Return value

Hibernate returns a standard HRESULT value.

Remarks

The Hibernate method sends a PBT_APMQUERYSUSPEND event to each application to request permission to suspend operations. To use Hibernate, the caller should be running on the interactive console. When Hibernate is complete, this method stops any wake timers that the Console::SetWakeTimer method set.

See also

Console

Console::CriticalHibernate

Console::CriticalStandby

Console::DisableWakeEvents

Console::SetWaketimer

Console::Standby

 

 

Send comments about this topic to Microsoft

Build date: 1/12/2012