Source code of Windows XP (NT5)
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.

58 lines
694 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. debug.h
  5. Abstract: Contains debug related definitions.
  6. Environment:
  7. User mode
  8. Author:
  9. Michael Tsang (MikeTs) 13-Mar-2000
  10. Revision History:
  11. --*/
  12. #ifndef _DEBUG_H
  13. #define _DEBUG_H
  14. //
  15. // Type definitions.
  16. //
  17. typedef struct ERRMAP
  18. {
  19. ULONG dwFromCode;
  20. ULONG dwToCode;
  21. } ERRMAP, *PERRMAP;
  22. //
  23. // Exported Data Declarations
  24. //
  25. #ifdef DEBUG
  26. extern NAMETABLE CPLMsgNames[];
  27. #endif
  28. //
  29. // Function prototypes
  30. //
  31. int INTERNAL
  32. ErrorMsg(
  33. IN ULONG ErrCode,
  34. ...
  35. );
  36. ULONG INTERNAL
  37. MapError(
  38. IN ULONG dwErrCode,
  39. IN PERRMAP ErrorMap,
  40. IN BOOL fReverse
  41. );
  42. #endif //ifndef _DEBUG_H