source: trunk/dll/errutil.h@ 907

Last change on this file since 907 was 907, checked in by Steven Levine, 18 years ago

Avoid out of memory traps in Compare Directories
Rework Compare Directories progress display for 2 second update rate
Start refactoring to reduce dependence on fm3dll.h
Add timer services (IsITimerExpired etc.)

File size: 1.3 KB
Line 
1
2/***********************************************************************
3
4 $Id: $
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
12
13***********************************************************************/
14
15#if !defined(ERRUTIL_H)
16#define ERRUTIL_H
17
18#if !defined(OS2_INCLUDED)
19#include <os2.h>
20#endif
21
22VOID DbgMsg(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
23INT Dos_Error(ULONG mb_type, ULONG ulRC, HWND hwndOwner,
24 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
25INT Dos_Error2(ULONG mb_type, ULONG ulRC, HWND hwndOwner, PCSZ pszSrcFile,
26 UINT uSrcLineNo, UINT idMsg);
27ULONG GetMSecTimer(void);
28VOID Runtime_Error(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
29VOID Runtime_Error2(PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg);
30APIRET saymsg(ULONG mb_type, HWND hwnd, PCSZ pszTitle, PCSZ pszFmt, ...);
31VOID Win_Error(HWND hwndErr, HWND hwndOwner,
32 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
33VOID Win_Error2(HWND hwndErr, HWND hwndOwner, PCSZ pszSrcFile,
34 UINT uSrcLineNo, UINT idMsg);
35VOID Win_Error_NoMsgBox(HWND hwndErr, HWND hwndOwner,
36 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
37
38extern PSZ DEBUG_STRING;
39
40#endif // ERRUTIL_H
Note: See TracBrowser for help on using the repository browser.