System Shutdown Messages

The following messages are used with system shutdown.

WM_ENDSESSION
WM_QUERYENDSESSION