Leaked source code of windows server 2003
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.

79 lines
2.1 KiB

  1. DEBUG_TOPIC(B,"&Blting")
  2. DEBUG_TOPIC(C,"&Clipping")
  3. DEBUG_TOPIC(D,"&DDraw Object")
  4. DEBUG_TOPIC(E,"Driv&er information")
  5. DEBUG_TOPIC(F,"&Focus Changes")
  6. DEBUG_TOPIC(H,"&HAL/HEL Calls")
  7. DEBUG_TOPIC(I,"Internal Fn Entered")
  8. DEBUG_TOPIC(K,"NT Kernel Calls")
  9. DEBUG_TOPIC(L,"&Locking/Ownership")
  10. DEBUG_TOPIC(O,"M&odes")
  11. DEBUG_TOPIC(M,"&Memory")
  12. DEBUG_TOPIC(P,"API &Parameters")
  13. DEBUG_TOPIC(R,"&Reference Counting")
  14. DEBUG_TOPIC(S,"&Surface Objects")
  15. DEBUG_TOPIC(T,"Fil&ters")
  16. DEBUG_TOPIC(V,"&Video Memory allocation")
  17. DEBUG_TOPIC(W,"&Windows and Handles")
  18. DEBUG_TOPIC(X,"Ad-Hoc Message &X")
  19. //
  20. // level meaning
  21. // 0 Fatal error, user visible
  22. // 1 Warning, user visible
  23. // 2 Info, user visible
  24. // 3 non-user visible errors/warnings
  25. // 4 program flow
  26. // 5 values
  27. /*
  28. * It is important that the first DEBUG_TOPIC appear at the top line of this
  29. * file, and that no other lines are interspersed between DEBUG_TOPIC lines.
  30. * (The debug system uses the __LINE__ pseudo-variable to identify topics)
  31. */
  32. /*
  33. * NOTE: Debug topic A is reserved and always means "API Usage"
  34. */
  35. /*
  36. * Note for backward compatibility you can define PROF_SECT here
  37. * to pick up old-style DPF control from win.ini's [PROF_SECT] debug=
  38. * setting
  39. */
  40. /* #define PROF_SECT "MyOldWININISection"*/
  41. #undef DPF_MODULE_NAME
  42. #ifdef START_STR
  43. #define DPF_MODULE_NAME START_STR
  44. #else
  45. #define DPF_MODULE_NAME "DDraw"
  46. #endif
  47. /*
  48. * Use this identifier to define which line in WIN.INI [DirectX] denotes the
  49. * debug control string
  50. */
  51. #undef DPF_CONTROL_LINE
  52. #define DPF_CONTROL_LINE "DDrawDebug"
  53. /*
  54. * Definitions for DPF detail levels:
  55. *
  56. * 0: Error useful for application developers.
  57. * 1: Warning useful for application developers.
  58. * 2: API Entered
  59. * 3: API parameters, API return values
  60. * 4: Driver conversation
  61. *
  62. * 5: Deeper program flow notifications
  63. * 6: Dump structures
  64. */
  65. /*
  66. * Note: At run-time, you can set
  67. * [DirectX]
  68. * <DPF_CONTROL_LINE>=?
  69. * to get a dump of DPF control string parameters, including all defined topics.
  70. */