blob: ca0270a36a68dde8914d5b6fdc46d8dc6af17aad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include <zencore/windows.h>
class WindowsService
{
public:
WindowsService();
~WindowsService();
virtual int Run() = 0;
int ServiceMain();
static void Install();
static void Delete();
int SvcMain();
static void __stdcall SvcCtrlHandler(unsigned long);
};
VOID ReportSvcStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint);
|