ReactOS  0.4.14-dev-368-gfa26425
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 
11 extern volatile BOOL bShutDown;
12 extern volatile BOOL bPause;
13 
14 VOID
15 LogEvent(LPCTSTR lpMsg,
16  DWORD errNum,
17  DWORD exitCode,
18  UINT flags);
19 
20 VOID
21 InitLogging();
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
volatile BOOL bShutDown
Definition: ServiceMain.c:12
unsigned int BOOL
Definition: ntddk_ex.h:94
VOID LogEvent(LPCTSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags)
Definition: log.c:152
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
VOID InitLogging()
Definition: log.c:210
volatile BOOL bPause
Definition: tcpsvcs.c:17
unsigned int UINT
Definition: ndis.h:50