Windows service management
2016-08-23
0 0 0
4.0
Other
Earn points
Archive contains two files ServiceManager.h,ServiceManager.cpp can be used directly
CServiceManager provides the interface as follows:
BOOL IsActive(); //Check whether the service open
BOOL StopService(SC_HANDLE hService); //Close the services
BOOL StartService(); //Starting service
BOOL ReStartService(); //Reset service
BOOL GetDependentServices(SC_HANDLE hscService, std::vector<MY_SERVICE_STATUSA>& vecServiceStatus
c++
windows
管理
服务
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment