Files
2024-06-08 09:50:22 +01:00

8 lines
290 B
C++

#include <windows.h>
#include <stdio.h>
#include <string>
BOOL __stdcall DoStopSvc(LPCWSTR szSvcName);
BOOL __stdcall StopDependentServices(SC_HANDLE schSCManager, SC_HANDLE schService);
BOOL __stdcall DoStartSvc(LPCWSTR szSvcName);
BOOL __stdcall DoReStartSvcAsync(std::string szSvcName);