11 SERVICE_STATUS_HANDLE _status;
15 static DWORD ServiceExecutionThread(LPVOID param);
16 static void ServiceCtrlHandler(DWORD controlCode);
17 static void UpdateSCMStatus(
19 DWORD dwWin32ExitCode,
20 DWORD dwServiceSpecificExitCode,
23 static void ServiceMain();
24 static void StartThread();
29 virtual void Run() = 0;
std::wstring _name
Definition: ServiceImpl.h:28
ServiceImpl(const std::wstring &name)
Definition: ServiceImpl.cpp:8
void Wait()
Definition: ServiceImpl.cpp:149
BOOL _paused
Definition: ServiceImpl.h:27
BOOL _running
Definition: ServiceImpl.h:26
service implementation
Definition: ServiceImpl.h:8
void Stop()
Definition: ServiceImpl.cpp:24
void Start()
Definition: ServiceImpl.cpp:157
virtual ~ServiceImpl()
Definition: ServiceImpl.cpp:19