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.

47 lines
891 B

  1. #ifndef _DEBUG_ZONES_H_
  2. #define _DEBUG_ZONES_H_
  3. #include <mlzdbg.h>
  4. #if defined(_DEBUG) && defined(MULTI_LEVEL_ZONES)
  5. enum
  6. {
  7. ZONE_CORE = BASE_ZONE_INDEX,
  8. ZONE_NET,
  9. ZONE_ORDER,
  10. ZONE_OM,
  11. ZONE_INPUT,
  12. ZONE_WB,
  13. ZONE_UT
  14. };
  15. #endif // _DEBUG && MULTI_LEVEL_ZONES
  16. #endif // _DEBUG_ZONES_H_
  17. // lonchanc: this must be outside the _DEBUG_ZONE_H_ protection
  18. // because cpi32dll.c and crspdll.c need to include this header
  19. // again in order to initialize the debug zone data.
  20. #if defined(_DEBUG) && defined(INIT_DBG_ZONE_DATA) && defined(MULTI_LEVEL_ZONES)
  21. static const PSTR c_apszDbgZones[] =
  22. {
  23. "AppShr", // debug zone module name
  24. DEFAULT_ZONES
  25. "Core",
  26. "Network",
  27. "Order",
  28. "ObMan",
  29. "Input",
  30. "Whiteboard",
  31. "UT",
  32. };
  33. #endif // _DEBUG && INIT_DBG_ZONE_DATA && MULTI_LEVEL_ZONES