source: trunk/dll/errutil.h@ 1395

Last change on this file since 1395 was 1395, checked in by Gregg Young, 17 years ago

Allow user to turn off alert and/or error beeps in settings notebook. Ticket 341 Move repeated strings to PCSZs. Ticket 6 Add *DateFormat functions to format dates based on locale Ticket 28 Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error Ticket 6

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1
2/***********************************************************************
3
4 $Id: errutil.h 1395 2009-02-08 01:48:16Z gyoung $
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 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error
13
14***********************************************************************/
15
16#if !defined(ERRUTIL_H)
17#define ERRUTIL_H
18
19#if !defined(OS2_INCLUDED)
20#include <os2.h>
21#endif
22
23VOID DbgMsg(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
24INT Dos_Error(ULONG mb_type, ULONG ulRC, HWND hwndOwner,
25 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
26//INT Dos_Error2(ULONG mb_type, ULONG ulRC, HWND hwndOwner, PCSZ pszSrcFile,
27// UINT uSrcLineNo, UINT idMsg);
28ULONG GetMSecTimer(void);
29VOID Runtime_Error(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
30VOID Runtime_Error2(PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg);
31APIRET saymsg(ULONG mb_type, HWND hwnd, PCSZ pszTitle, PCSZ pszFmt, ...);
32VOID Win_Error(HWND hwndErr, HWND hwndOwner,
33 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
34//VOID Win_Error2(HWND hwndErr, HWND hwndOwner, PCSZ pszSrcFile,
35// UINT uSrcLineNo, UINT idMsg);
36VOID Win_Error_NoMsgBox(HWND hwndErr, HWND hwndOwner,
37 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
38
39extern PSZ DEBUG_STRING;
40
41#endif // ERRUTIL_H
Note: See TracBrowser for help on using the repository browser.