1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: errutil.h 1686 2013-03-10 18:34:34Z gyoung $
|
---|
5 |
|
---|
6 | Error reporting utilities interface
|
---|
7 |
|
---|
8 | Copyright (c) 1993-98 M. Kimes
|
---|
9 | Copyright (c) 2008, 2010 Steven H. Levine
|
---|
10 |
|
---|
11 | 05 Jan 08 SHL Move from fm3dll.h to here
|
---|
12 | 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error
|
---|
13 | 08 Mar 09 GKY Remove Dos_Error2 (unused) and Runtime_Error2 (no advantage over using Runtime_Error)
|
---|
14 | 10 Mar 13 GKY Improvrd readonly check on delete to allow cancel and don't ask again options
|
---|
15 | Added saymsg2 for this purpose
|
---|
16 |
|
---|
17 | ***********************************************************************/
|
---|
18 |
|
---|
19 | #if !defined(ERRUTIL_H)
|
---|
20 | #define ERRUTIL_H
|
---|
21 |
|
---|
22 | #if !defined(OS2_INCLUDED)
|
---|
23 | #include <os2.h>
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | VOID DbgMsg(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
27 | INT Dos_Error(ULONG mb_type, APIRET apiret, HWND hwndOwner,
|
---|
28 | PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
29 | ULONG GetMSecTimer(void);
|
---|
30 | VOID Runtime_Error(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
31 | VOID Runtime_Error2(PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg);
|
---|
32 | APIRET saymsg(ULONG mb_type, HWND hwnd, PCSZ pszTitle, PCSZ pszFmt, ...);
|
---|
33 | APIRET saymsg2(PCSZ pszButtonNames, int DefaultButton, HWND hwnd, PCSZ pszTitle, PCSZ pszFmt, ...);
|
---|
34 | VOID Win_Error(HWND hwndErr, HWND hwndOwner,
|
---|
35 | PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
36 | VOID Win_Error_NoMsgBox(HWND hwndErr, HWND hwndOwner,
|
---|
37 | PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
38 |
|
---|
39 | #endif // ERRUTIL_H
|
---|