DIfferentiate Between Windows Service Startup as part of System reboot and Service stop/start using

Posted by Ganesh on Stack Overflow See other posts from Stack Overflow or by Ganesh
Published on 2010-03-31T08:22:00Z Indexed on 2010/03/31 8:23 UTC
Read the original article Hit count: 269

Filed under:
|
|
|

Hi,

How do I differentiate in my C++ code between a service coming up as a part of system reboot and service coming up since the user stopped and started the service manually in service manager or using sc tool????

© Stack Overflow or respective owner

Related posts about windows-services

Related posts about startup