Source code of Windows XP (NT5)
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.

55 lines
1.5 KiB

  1. /*
  2. * SnapTrace.hxx
  3. *
  4. *
  5. * Copyright (c) 1998-1999 Microsoft Corporation
  6. *
  7. * PURPOSE: Support functions for debug trace
  8. *
  9. *
  10. * OWNER: ptousig
  11. */
  12. #ifndef _SNAPTRACE_HXX_
  13. #define _SNAPTRACE_HXX_
  14. #define ADMIN_TRY
  15. #define ADMIN_CATCH_HR
  16. #ifdef DBG
  17. extern CTraceTag tagBaseSnapinRegister;
  18. extern CTraceTag tagBaseSnapinNotify;
  19. extern CTraceTag tagBaseSnapinISnapinAbout;
  20. extern CTraceTag tagBaseSnapinIComponent;
  21. extern CTraceTag tagBaseSnapinIComponentQueryDataObject;
  22. extern CTraceTag tagBaseSnapinIComponentGetDisplayInfo;
  23. extern CTraceTag tagBaseSnapinIComponentData;
  24. extern CTraceTag tagBaseSnapinIComponentDataQueryDataObject;
  25. extern CTraceTag tagBaseSnapinIComponentDataGetDisplayInfo;
  26. extern CTraceTag tagBaseSnapinIResultOwnerData;
  27. extern CTraceTag tagBaseSnapinIDataObject;
  28. extern CTraceTag tagBaseSnapinISnapinHelp;
  29. extern CTraceTag tagBaseSnapinIExtendContextMenu;
  30. extern CTraceTag tagBaseSnapinIExtendPropertySheet;
  31. extern CTraceTag tagBaseSnapinIResultDataCompare;
  32. extern CTraceTag tagBaseSnapinIPersistStreamInit;
  33. extern CTraceTag tagBaseSnapinDebugDisplay;
  34. extern CTraceTag tagBaseSnapinDebugCopy;
  35. extern CTraceTag tagBaseSnapinItemTracker;
  36. extern CTraceTag tagBaseMultiSelectSnapinItemTracker;
  37. //
  38. // No retail versions of these functions !!!
  39. // Should only be called from Trace functions.
  40. //
  41. tstring SzGetDebugNameOfHr(HRESULT hr);
  42. tstring SzGetDebugNameOfDATA_OBJECT_TYPES(DATA_OBJECT_TYPES type);
  43. tstring SzGetDebugNameOfMMC_NOTIFY_TYPE(MMC_NOTIFY_TYPE event);
  44. #endif
  45. #endif