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
1.8 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. #define WABDebugObjectProps(lpObject, Label) _DebugObjectProps(FALSE, lpObject, Label)
  22. #define WABDebugProperties(lpProps, cProps, pszObject) _DebugProperties(lpProps, cProps, pszObject)
  23. #define WABDebugMapiTable(lpTable) _DebugMapiTable(FALSE, lpTable)
  24. #define WABDebugADRLIST(lpAdrList, lpszTitle) _DebugADRLIST(lpAdrList, lpszTitle)
  25. #define MAPIDebugObjectProps(lpObject, Label) _DebugObjectProps(TRUE, lpObject, Label)
  26. #define MAPIDebugProperties(lpProps, cProps, pszObject) _DebugProperties(lpProps, cProps, pszObject)
  27. #define MAPIDebugMapiTable(lpTable) _DebugMapiTable(TRUE, lpTable)
  28. #define MAPIDebugADRLIST(lpAdrList, lpszTitle) _DebugADRLIST(lpAdrList, lpszTitle)
  29. #else
  30. #define WABDebugObjectProps(lpObject, Label)
  31. #define WABDebugProperties(lpProps, cProps, pszObject)
  32. #define WABDebugMapiTable(lpTable)
  33. #define WABDebugADRLIST(lpAdrList, lpszTitle)
  34. #define MAPIDebugObjectProps(lpObject, Label)
  35. #define MAPIDebugProperties(lpProps, cProps, pszObject)
  36. #define MAPIDebugMapiTable(lpTable)
  37. #define MAPIDebugADRLIST(lpAdrList, lpszTitle)
  38. #endif