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.

41 lines
1.4 KiB

  1. #ifdef DEBUG // { DEBUG
  2. int WINAPI CCDbgPrintf ( LPTSTR lpszFormat, ... );
  3. extern HDBGZONE ghDbgZoneCC;
  4. #define ZONE_INIT (GETMASK(ghDbgZoneCC) & 0x0001)
  5. #define ZONE_CONN (GETMASK(ghDbgZoneCC) & 0x0002)
  6. #define ZONE_COMMCHAN (GETMASK(ghDbgZoneCC) & 0x0004)
  7. #define ZONE_CAPS (GETMASK(ghDbgZoneCC) & 0x0008)
  8. #define ZONE_MEMBER (GETMASK(ghDbgZoneCC) & 0x0010)
  9. #define ZONE_U2 (GETMASK(ghDbgZoneCC) & 0x0020)
  10. #define ZONE_U3 (GETMASK(ghDbgZoneCC) & 0x0040)
  11. #define ZONE_REFCOUNT (GETMASK(ghDbgZoneCC) & 0x0080)
  12. #define ZONE_U4 (GETMASK(ghDbgZoneCC) & 0x0100)
  13. #define ZONE_PROFILE (GETMASK(ghDbgZoneCC) & 0x0200)
  14. extern HDBGZONE ghDbgZoneNMCap;
  15. #define ZONE_NMCAP_CDTOR (GETMASK(ghDbgZoneNMCap) & 0x0001)
  16. #define ZONE_NMCAP_REFCOUNT (GETMASK(ghDbgZoneNMCap) & 0x0002)
  17. #define ZONE_NMCAP_STREAMING (GETMASK(ghDbgZoneNMCap) & 0x0004)
  18. #ifndef DEBUGMSG // { DEBUGMSG
  19. #define DEBUGMSG(z,s) ( (z) ? (CCDbgPrintf s ) : 0)
  20. #endif // } DEBUGMSG
  21. #ifndef FX_ENTRY // { FX_ENTRY
  22. #define FX_ENTRY(s) static TCHAR _this_fx_ [] = (s);
  23. #define _fx_ ((LPTSTR) _this_fx_)
  24. #endif // } FX_ENTRY
  25. #define ERRORMESSAGE(m) (CCDbgPrintf m)
  26. #else // }{ DEBUG
  27. #ifndef FX_ENTRY // { FX_ENTRY
  28. #define FX_ENTRY(s)
  29. #endif // } FX_ENTRY
  30. #ifndef DEBUGMSG // { DEBUGMSG
  31. #define DEBUGMSG(z,s)
  32. #define ERRORMESSAGE(m)
  33. #endif // } DEBUGMSG
  34. #define _fx_
  35. #define ERRORMESSAGE(m)
  36. #endif // } DEBUG