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.

57 lines
2.3 KiB

  1. /***********************************************************************
  2. *
  3. * DBGUTIL.H
  4. *
  5. * Debug Utility functions
  6. *
  7. * Copyright 1992 - 1996 Microsoft Corporation. All Rights Reserved.
  8. *
  9. * Revision History:
  10. *
  11. * When Who What
  12. * -------- ------------------ ---------------------------------------
  13. * 11.13.95 Bruce Kelley Created
  14. *
  15. ***********************************************************************/
  16. #ifdef DEBUG
  17. VOID _DebugObjectProps(BOOL fMAPI, LPMAPIPROP lpObject, LPTSTR Label);
  18. VOID _DebugProperties(LPSPropValue lpProps, DWORD cProps, PUCHAR pszObject);
  19. void _DebugMapiTable(BOOL fMAPI, LPMAPITABLE lpTable);
  20. void _DebugADRLIST(LPADRLIST lpAdrList, LPTSTR lpszTitle);
  21. void _DebugNamedProps(BOOL fMAPI, LPMAPIPROP lpObject, LPTSTR Label);
  22. VOID DebugBinary(UINT cb, LPBYTE lpb);
  23. #define WABDebugObjectProps(lpObject, Label) _DebugObjectProps(FALSE, lpObject, Label)
  24. #define WABDebugProperties(lpProps, cProps, pszObject) _DebugProperties(lpProps, cProps, pszObject)
  25. #define WABDebugMapiTable(lpTable) _DebugMapiTable(FALSE, lpTable)
  26. #define WABDebugADRLIST(lpAdrList, lpszTitle) _DebugADRLIST(lpAdrList, lpszTitle)
  27. #define WABDebugNamedProps(lpObject, Label) _DebugNamedProps(FALSE, lpObject, Label)
  28. #define MAPIDebugObjectProps(lpObject, Label) _DebugObjectProps(TRUE, lpObject, Label)
  29. #define MAPIDebugProperties(lpProps, cProps, pszObject) _DebugProperties(lpProps, cProps, pszObject)
  30. #define MAPIDebugMapiTable(lpTable) _DebugMapiTable(TRUE, lpTable)
  31. #define MAPIDebugADRLIST(lpAdrList, lpszTitle) _DebugADRLIST(lpAdrList, lpszTitle)
  32. #define MAPIDebugNamedProps(lpObject, Label) _DebugNamedProps(TRUE, lpObject, Label)
  33. #define DebugBinaryData(cb, lpb) DebugBinary(cb, lpb)
  34. // VOID FAR CDECL DebugTrace(LPSTR lpszFmt, ...);
  35. #else
  36. #define WABDebugObjectProps(lpObject, Label)
  37. #define WABDebugProperties(lpProps, cProps, pszObject)
  38. #define WABDebugMapiTable(lpTable)
  39. #define WABDebugADRLIST(lpAdrList, lpszTitle)
  40. #define WABDebugNamedProps(lpObject, Label)
  41. #define MAPIDebugObjectProps(lpObject, Label)
  42. #define MAPIDebugProperties(lpProps, cProps, pszObject)
  43. #define MAPIDebugMapiTable(lpTable)
  44. #define MAPIDebugADRLIST(lpAdrList, lpszTitle)
  45. #define MAPIDebugNamedProps(lpObject, Label)
  46. #define DebugBinaryData(cb, lpb)
  47. #endif