CriticalHibernate method

The CriticalHibernate method forcefully closes all interactive applications and sends a computer into hibernation immediately.

Syntax

HRESULT CriticalHibernate();

Parameters

This method has no parameters.

Return value

CriticalHibernate returns a standard HRESULT value.

Remarks

The CriticalHibernate method does not send a PBT_APMQUERYSUSPEND event to each application to request permission to suspend operations.

To use CriticalHibernate, the caller should be running on the interactive console. When CriticalHibernate is complete, this method stops any wake timers that the Console::SetWakeTimer method set.

See also

Console

Console::CriticalStandby

Console:: DisableWakeEvents

Console::Hibernate

Console::SetWakeTimer

Console::Standby

 

 

Send comments about this topic to Microsoft

Build date: 1/12/2012