summaryrefslogtreecommitdiffstats
path: root/private/nw/convert/nwconv/nwlog.h
blob: ceb44e4070cadeca83c2b5f934ea3e3917ce0ef0 (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
/*+-------------------------------------------------------------------------+
  | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved.    |
  +-------------------------------------------------------------------------+*/

#ifndef _NWLOG_
#define _NWLOG_

#ifdef __cplusplus
extern "C"{
#endif

void LogInit();
void LogWriteLog(int Level, LPTSTR szFormat, ...);
void LogWriteErr(LPTSTR szFormat, ...);
void LogWriteSummary(int Level, LPTSTR szFormat, ...);
void GetTime(TCHAR *str);
void ErrorResetAll();
void ErrorContextSet(LPTSTR szFormat, ...);
void ErrorCategorySet(LPTSTR szFormat, ...);
void ErrorItemSet(LPTSTR szFormat, ...);
void ErrorReset();
void ErrorSet(LPTSTR szFormat, ...);
BOOL ErrorOccured();
void ErrorBox(LPTSTR szFormat, ...);
int ErrorBoxRetry(LPTSTR szFormat, ...);

void LogOptionsInit();
void LogOptionsSave( HANDLE hFile );
void LogOptionsLoad( HANDLE hFile );
BOOL PopupOnError();
BOOL VerboseFileLogging();
BOOL VerboseUserLogging();
void DoLoggingDlg(HWND hDlg);

#ifdef __cplusplus
}
#endif

#endif