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.

53 lines
1.9 KiB

  1. // Because these are not defined in retail mode
  2. #if DBG == 0
  3. # define DEB_ERROR 0x00000001 // exported error paths
  4. # define DEB_WARN 0x00000002 // exported warnings
  5. # define DEB_TRACE 0x00000004 // exported trace messages
  6. # define DEB_DBGOUT 0x00000010 // Output to debugger
  7. # define DEB_STDOUT 0x00000020 // Output to stdout
  8. # define DEB_IERROR 0x00000100 // internal error paths
  9. # define DEB_IWARN 0x00000200 // internal warnings
  10. # define DEB_ITRACE 0x00000400 // internal trace messages
  11. # define DEB_USER1 0x00010000 // User defined
  12. # define DEB_USER2 0x00020000 // User defined
  13. # define DEB_USER3 0x00040000 // User defined
  14. # define DEB_USER4 0x00080000 // User defined
  15. # define DEB_USER5 0x00100000 // User defined
  16. # define DEB_USER6 0x00200000 // User defined
  17. # define DEB_USER7 0x00400000 // User defined
  18. # define DEB_USER8 0x00800000 // User defined
  19. # define DEB_USER9 0x01000000 // User defined
  20. # define DEB_USER10 0x02000000 // User defined
  21. # define DEB_USER11 0x04000000 // User defined
  22. # define DEB_USER12 0x08000000 // User defined
  23. # define DEB_USER13 0x10000000 // User defined
  24. # define DEB_USER14 0x20000000 // User defined
  25. # define DEB_USER15 0x40000000 // User defined
  26. #endif
  27. const UINT MAXDEBFLAG = 8;
  28. const UINT NUMDEBFLAGS = 23;
  29. const UINT NUMINFOLEVELS = 14;
  30. const UINT MAXSYMBOL = 32;
  31. struct STable1
  32. {
  33. char name[MAXDEBFLAG];
  34. ULONG flag;
  35. };
  36. struct STable2
  37. {
  38. char name[4];
  39. ULONG adr;
  40. char symbol[MAXSYMBOL];
  41. };