WM_HIBERNATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message is sent to an application when system resources are running low. An application should attempt to release as many resources as possible when sent this message by unloading dialog boxes, destroying windows, or freeing up as much local storage as possible without changing the internal state.

Syntax

WM_HIBERNATE wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

None.

Remarks

The application leaves this state either by receiving a WM_ACTIVATE message, in which case it is the application's responsibility to attain the state it was in before the hibernate, or by getting a WM_CLOSE message, in which case the application will exit properly.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WM_ACTIVATE
WM_CLOSE

Other Resources