ReactOS 0.4.15-dev-7842-g558ab78
myservice.h
Go to the documentation of this file.
1#include <windows.h>
2#include <tchar.h>
3
4#define DEBUG 1
5
6#define LOG_FILE 1
7#define LOG_EVENTLOG 2
8#define LOG_ERROR 4
9#define LOG_ALL (LOG_FILE | LOG_EVENTLOG | LOG_ERROR)
10
11extern volatile BOOL bShutDown;
12extern volatile BOOL bPause;
13
14VOID
15LogEvent(LPCTSTR lpMsg,
16 DWORD errNum,
17 DWORD exitCode,
18 UINT flags);
19
20VOID
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
VOID InitLogging()
Definition: log.c:210
VOID LogEvent(LPCTSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags)
Definition: log.c:152
volatile BOOL bShutDown
Definition: ServiceMain.c:12
volatile BOOL bPause
Definition: tcpsvcs.c:17
unsigned int UINT
Definition: ndis.h:50
const CHAR * LPCTSTR
Definition: xmlstorage.h:193