blob: c7a92147abcc8c06d46f81dfde9f37fec0889667 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*++
Copyright (c) 1994 Microsoft Corporation
Module Name:
Service.h
Abstract:
Author:
Arthur Hanson (arth) Dec 07, 1994
Environment:
Revision History:
--*/
#ifndef _SERVICE_H
#define _SERVICE_H
#ifdef __cplusplus
extern "C" {
#endif
// name of the executable
#define SZAPPNAME "LLSrv"
// internal name of the service
#define SZSERVICENAME "LicenseLoggingService"
// displayed name of the service
#define SZSERVICEDISPLAYNAME "License Logging Service"
// list of service dependencies - "dep1\0dep2\0\0"
#define SZDEPENDENCIES ""
//////////////////////////////////////////////////////////////////////////////
VOID ServiceStart(DWORD dwArgc, LPTSTR *lpszArgv);
VOID ServiceStop();
BOOL ReportStatusToSCMgr(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint);
VOID MessageLogWrite(LPTSTR lpszMsg);
#ifdef __cplusplus
}
#endif
#endif
|