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 killing the internal state.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 1.0 and later |
Syntax
WM_HIBERNATE wParam = 0; lParam = 0;
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.
See Also