What WM_ message does Windows XP send to applications when it is about to logoff or shutdown please?
Posted on 2006-02-16 09:41:00 by V Coder
Perhaps its something like

PUSH 0b
PUSH 0b
PUSH WM_CLOSE
PUSH HWND_BROADCAST
CALL SendMessage

the hWnd parameter must be set to HWND_BROARCAST so that all the open windows will get notified of the action taken
Posted on 2006-02-16 11:31:29 by XCHG
First WM_QUERYENDSESSION then  WM_ENDSESSION

best regards,

czDrillard
Posted on 2006-02-16 21:41:33 by czDrillard