Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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