source: trunk/dll/errutil.h@ 1402

Last change on this file since 1402 was 1402, checked in by Gregg Young, 16 years ago

Remove variable aurgs from docopy & unlinkf (not used); Move more strings to PCSZs and string table; Move PCSZs to compile time initialization; Fix hang on startup caused by a drive scan and a dircnr scan trying to update a drive in the tree at the same time (related to the "treeswitch options); Code cleanup mainly removal of old printfs, SayMsgs, DbgMsg and unneeded %s.

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1
2/***********************************************************************
3
4 $Id: errutil.h 1402 2009-03-14 17:17:59Z 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 08 Mar 09 GKY Remove Dos_Error2 (unused) and Runtime_Error2 (no advantage over using Runtime_Error)
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
24VOID DbgMsg(PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
25INT Dos_Error(ULONG mb_type, ULONG ulRC, HWND hwndOwner,
26 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
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_Error_NoMsgBox(HWND hwndErr, HWND hwndOwner,
34 PCSZ pszSrcFile, UINT uSrcLineNo, PCSZ pszFmt, ...);
35
36#endif // ERRUTIL_H
Note: See TracBrowser for help on using the repository browser.