get logon and logoff event in an service on windows 2000
C / C++ / MFC
1
Posts
1
Posters
3
Views
1
Watching
-
When I am on windows xp or later, I could get SERVICE_CONTROL_SESSIONCHANGE event by calling RegisterServiceCtrlHandlerEx and HandlerEx .But when I am on windows 2000 ,the SERVICE_CONTROL_SESSIONCHANGE event does not support windows 2000. And now I am willing to get the logon and logoff event on windows 2000 in my service (win32 service), I could not find any method.