/****************************************************************************
**
**  Name:  ERRTEXT.H
**
**  Description:
**      Prototypes for errtext dll.
**
**  Status:  CODED
**
**  $Log:   S:/tbird/mt2_186/errtext/errtext.h_v  $
** 
**    Rev 1.1   26 Feb 1997 11:36:08   Judy
** No change.
** 
**    Rev 1.0   16 Dec 1996 14:29:40   Judy
** Initial revision.
** 
**    Rev 1.8   10 Aug 1993 14:30:04   ron
** removed the [Please contact Microtek to report this problem] for the 2.0a
** release, as it's too risky that an innocuous error will be misidentified as
** Internal.
** 
**    Rev 1.7   21 Jul 1993 11:24:08   ron
** ppr8450: make error numbers and error types consistent: use error numbers
** for either INTERNAL errors or when reportErrCodes is TRUE.
** 
**    Rev 1.6   28 Jun 1993 10:42:18   ron
** changes to get help buttons for all server errors
** 
**    Rev 1.5   03 Jun 1993 16:34:30   ron
** actor error consolidation -- working checkpoint
** 
**    Rev 1.4   23 Mar 1993 17:27:56   nghia
** Minor cleanup.
** 
**    Rev 1.3   11 Aug 1992 18:07:16   courtney
** Added prototype.
** 
**    Rev 1.2   28 Jul 1992 11:47:38   brucea
** Added: definition of _ERRTEXT_
** 
**    Rev 1.1   13 May 1992 15:51:26   courtney
** Prototypes now live in hosterrs.h.
** 
**    Rev 1.0   12 May 1992 17:03:42   courtney
** Initial revision.
** 
**  $Header:   S:/tbird/mt2_186/errtext/errtext.h_v   1.1   26 Feb 1997 11:36:08   Judy  $
**
**  Copyright (C) 1992 Microtek International.  All rights reserved.
**
*****************************************************************************/

#define _ERRTEXT_

#ifndef _BASEWIND_
#include "basewind.h"
#endif

/* local routines */
RETCODE LocalGetErrorText(RETCODE, LPSTR);
RETCODE GetErrorComponents(RETCODE *, LPSTR);

/* private routines */
RETCODE EXPORT ErrGetAllErrors(VOID);
RETCODE EXPORT ErrErrorToHelp(RETCODE errCode, DWORD *hlpEntry);

#define ERROR_CAPTION "MP/SLD" /* caption for all error boxes */
#define FILELEN  13  /* standard MS-DOS filename without path */

#define STR_TEMPLATE              "%s"
#define I_STR_TEMPLATE            "%s (%lX)"
#define STR_TEMPLATE_WITH_CODE    "%s (%lX)"

#define DISPLAYSTR_TEMPLATE       "%s %s"
#define I_DISPLAYSTR_TEMPLATE     "%s %s (%lX)"
#define DISPLAYSTR_TEMPLATE_WITH_CODE  "%s %s (%lX)"
