WM_SYSTEMERROR This message is broadcast to all top-level windows when the application is out of memory. This will give your application the opportunity to close down cleanly. Parameters wParam is the number 8, which signifies a memory error. lParam is not used.