Windows NT 4.0 source code leak
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

4 years ago
  1. /*****************************************************************************
  2. * *
  3. * ERROR.H *
  4. * *
  5. * Copyright (C) Microsoft Corporation 1990. *
  6. * All Rights reserved. *
  7. * *
  8. ******************************************************************************
  9. * *
  10. * Module Intent *
  11. * *
  12. * Interface to HC error message stuff. *
  13. * *
  14. *****************************************************************************/
  15. /*****************************************************************************
  16. * *
  17. * Defines *
  18. * *
  19. *****************************************************************************/
  20. // hce errors
  21. // #define hceOK 0
  22. #include "hce.h"
  23. // Error Phase values
  24. typedef enum {
  25. epNoFile,
  26. epLine,
  27. epTopic,
  28. epOffset,
  29. epCnt,
  30. } EP;
  31. /*****************************************************************************
  32. * *
  33. * Typedefs *
  34. * *
  35. *****************************************************************************/
  36. /*
  37. This structure contains info for the ErrorHce() function; i.e. file, line
  38. (page), and warning level. Note that all this info is duplicated
  39. elsewhere.
  40. */
  41. typedef struct {
  42. PSTR lpszFile;
  43. EP ep; // Error Phase
  44. int iLine;
  45. int iTopic;
  46. int iWarningLevel;
  47. } ERR, *PERR;