Any way to run an exe at logoff!
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hello everybody! Is there any specific way to run an exe when a system wants to logoff! Or will the system forcefully closes all active applications before logoff?
-
Hello everybody! Is there any specific way to run an exe when a system wants to logoff! Or will the system forcefully closes all active applications before logoff?
Systems send
WM_QUERYENDSESSION
to each application window when log off process is initiated. You can do any specific task here. ReturningFALSE
in response to this message causes log off operation to stop.Prasad Notifier using ATL | Operator new[],delete[][^]