what is the message when Service abruptly stopped
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have one service, if it stopped normally by either stopping it thro SCM applet or user manually shutting down the system i am doing all the processing before it shuts down in Service Control handler function when it receives SERVICE_CONTROL_STOP or SERVICE_CONTROL_SHUTDOWN messages. But I need to handle when this service is killed/stopped abruptly thro task manager or thro some other means. what message does it send to Control handler function so that i can do something here , or please tell me how to handle this ? Thanks...