Compartilhar via


WM_HIBERNATE (Compact 2013)

3/28/2014

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

See Also

Reference

Shell Messages
WM_ACTIVATE
WM_CLOSE