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