SERVICE_CONTROL_SESSIONCHANGE

  • Thread starter Thread starter Dave Cohen
  • Start date Start date
D

Dave Cohen

Would like to write a service that
Accepts "SERVICE_CONTROL_SESSIONCHANGE" by registering
the "SERVICE_ACCEPT_SESSIONCHANGE" with the SCM via the
SetServiceStatus API.The
RegisterServiceCtrlHandlerEx/HandlerEx APIs must also be
used. These only work in conjunction with RDP/Terminal
Services on XP Pro.

Can anyone point me to an example implementation?

Thanks in advance,
/dave.
 
Back
Top