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.

50 lines
2.2 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. UploadLibraryTrace.h
  5. Abstract:
  6. This file contains the declaration of Tracing Macrons for the Upload Library.
  7. Revision History:
  8. Davide Massarenti (Dmassare) 04/20/99
  9. created
  10. ******************************************************************************/
  11. // UploadLibraryTrace.h : include file for common declarations and definitions.
  12. //
  13. #if !defined(__INCLUDED___UL___UPLOADLIBRARYTRACE_H___)
  14. #define __INCLUDED___UL___UPLOADLIBRARYTRACE_H___
  15. #include <MPC_trace.h>
  16. /////////////////////////////////////////////////////////////////////////
  17. #define __ULT_FUNC_ENTRY(x) __MPC_FUNC_ENTRY(UPLOADLIBID,x)
  18. #define __ULT_FUNC_LEAVE __MPC_FUNC_LEAVE
  19. #define __ULT_FUNC_CLEANUP __MPC_FUNC_CLEANUP
  20. #define __ULT_FUNC_EXIT(x) __MPC_FUNC_EXIT(x)
  21. #define __ULT_TRACE_HRESULT(hr) __MPC_TRACE_HRESULT(hr)
  22. #define __ULT_TRACE_FATAL __MPC_TRACE_FATAL
  23. #define __ULT_TRACE_ERROR __MPC_TRACE_ERROR
  24. #define __ULT_TRACE_DEBUG __MPC_TRACE_DEBUG
  25. #define __ULT_TRACE_STATE __MPC_TRACE_STATE
  26. #define __ULT_TRACE_FUNCT __MPC_TRACE_FUNCT
  27. /////////////////////////////////////////////////////////////////////////
  28. #define __ULT_BEGIN_PROPERTY_GET(func,hr,pVal) __MPC_BEGIN_PROPERTY_GET(UPLOADLIBID,func,hr,pVal)
  29. #define __ULT_BEGIN_PROPERTY_GET__NOLOCK(func,hr,pVal) __MPC_BEGIN_PROPERTY_GET__NOLOCK(UPLOADLIBID,func,hr,pVal)
  30. #define __ULT_BEGIN_PROPERTY_GET2(func,hr,pVal,value) __MPC_BEGIN_PROPERTY_GET2(UPLOADLIBID,func,hr,pVal,value)
  31. #define __ULT_BEGIN_PROPERTY_GET2__NOLOCK(func,hr,pVal,value) __MPC_BEGIN_PROPERTY_GET2__NOLOCK(UPLOADLIBID,func,hr,pVal,value)
  32. #define __ULT_BEGIN_PROPERTY_PUT(func,hr) __MPC_BEGIN_PROPERTY_PUT(UPLOADLIBID,func,hr)
  33. #define __ULT_BEGIN_PROPERTY_PUT__NOLOCK(func,hr) __MPC_BEGIN_PROPERTY_PUT__NOLOCK(UPLOADLIBID,func,hr)
  34. #define __ULT_END_PROPERTY(hr) __MPC_END_PROPERTY(hr)
  35. /////////////////////////////////////////////////////////////////////////
  36. #endif // !defined(__INCLUDED___UL___UPLOADLIBRARYTRACE_H___)