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();
22