hi..
in the MSDN library i see that WM_QUERYENDSESSION is sent when an application calls ExitWindows function. A window receives this message through its WindowProc fuction.
The lParam value in its argument will indicate whether the user wants to log-off or shutdown.
Also, the library suggests that i perform a BITWISE operation to check if lParam value includes ENDSESSION_LOGOFF or SHUTDOWN.
can anyone tell me how to do this ? please reply as soon as you possibly can. thanks. i DON'T KNOW WHAT VALUES TO COMPARE !
br: nagi --
br: nagi
in the MSDN library i see that WM_QUERYENDSESSION is sent when an application calls ExitWindows function. A window receives this message through its WindowProc fuction.
The lParam value in its argument will indicate whether the user wants to log-off or shutdown.
Also, the library suggests that i perform a BITWISE operation to check if lParam value includes ENDSESSION_LOGOFF or SHUTDOWN.
can anyone tell me how to do this ? please reply as soon as you possibly can. thanks. i DON'T KNOW WHAT VALUES TO COMPARE !
br: nagi --
br: nagi