mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
/*****************************************************************************
|
|
* *
|
|
* ERROR.H *
|
|
* *
|
|
* Copyright (C) Microsoft Corporation 1990. *
|
|
* All Rights reserved. *
|
|
* *
|
|
******************************************************************************
|
|
* *
|
|
* Module Intent *
|
|
* *
|
|
* Interface to HC error message stuff. *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
/*****************************************************************************
|
|
* *
|
|
* Defines *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
// hce errors
|
|
|
|
// #define hceOK 0
|
|
|
|
#include "hce.h"
|
|
|
|
// Error Phase values
|
|
|
|
typedef enum {
|
|
epNoFile,
|
|
epLine,
|
|
epTopic,
|
|
epOffset,
|
|
epCnt,
|
|
} EP;
|
|
|
|
/*****************************************************************************
|
|
* *
|
|
* Typedefs *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
/*
|
|
This structure contains info for the ErrorHce() function; i.e. file, line
|
|
(page), and warning level. Note that all this info is duplicated
|
|
elsewhere.
|
|
*/
|
|
|
|
typedef struct {
|
|
PSTR lpszFile;
|
|
EP ep; // Error Phase
|
|
int iLine;
|
|
int iTopic;
|
|
int iWarningLevel;
|
|
} ERR, *PERR;
|