WM_QUIT

This message indicates a request to terminate an application and is generated when the application calls the PostQuitMessage function. It causes the GetMessage function to return zero.

Parameters

wParam

Contains the exit code given in the PostQuitMessage call.

lParam

This parameter is not used.

See Also

GetMessage, PostQuitMessage