[907] | 1 |
|
---|
| 2 | /***********************************************************************
|
---|
| 3 |
|
---|
[1196] | 4 | $Id: errutil.h 1402 2009-03-14 17:17:59Z gyoung $
|
---|
[907] | 5 |
|
---|
| 6 | Error reporting utilities interface
|
---|
| 7 |
|
---|
| 8 | Copyright (c) 1993-98 M. Kimes
|
---|
| 9 | Copyright (c) 2008 Steven H. Levine
|
---|
| 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)
|
---|
[907] | 14 |
|
---|
| 15 | ***********************************************************************/
|
---|
| 16 |
|
---|
| 17 | #if !defined(ERRUTIL_H)
|
---|
| 18 | #define ERRUTIL_H
|
---|
| 19 |
|
---|
| 20 | #if !defined(OS2_INCLUDED)
|
---|
| 21 | #include <os2.h>
|
---|
| 22 | #endif
|
---|
| 23 |
|
---|
| 24 | VOID DbgMsg(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
| 25 | INT Dos_Error(ULONG mb_type, ULONG ulRC, HWND hwndOwner,
|
---|
| 26 | PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
| 27 | ULONG GetMSecTimer(void);
|
---|
| 28 | VOID Runtime_Error(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
| 29 | VOID Runtime_Error2(PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg);
|
---|
| 30 | APIRET saymsg(ULONG mb_type, HWND hwnd, PCSZ pszTitle, PCSZ pszFmt, ...);
|
---|
| 31 | VOID Win_Error(HWND hwndErr, HWND hwndOwner,
|
---|
| 32 | PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
| 33 | VOID Win_Error_NoMsgBox(HWND hwndErr, HWND hwndOwner,
|
---|
| 34 | PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
|
---|
| 35 |
|
---|
| 36 | #endif // ERRUTIL_H
|
---|