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.

43 lines
831 B

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name:
  4. tracing.h
  5. Abstract:
  6. This module all the macros and constants required to do WPP tracing.
  7. Author:
  8. RaymondS 2 July 2002
  9. Environment
  10. User Level: Win32
  11. Revision History:
  12. --*/
  13. #ifdef TRACE_ON
  14. #define WPP_CHECK_FOR_NULL_STRING
  15. #define SPD_WPP_APPNAME L"Microsoft\\IPSecPolicyAgent"
  16. #define WPP_CONTROL_GUIDS \
  17. WPP_DEFINE_CONTROL_GUID(IPSecPolicyAgent, (94335eb3,79ea,44d5,8ea9,306f49b3a04e), \
  18. WPP_DEFINE_BIT(TRC_INFORMATION) \
  19. WPP_DEFINE_BIT(TRC_WARNING) \
  20. WPP_DEFINE_BIT(TRC_ERROR))
  21. #else // #ifdef TRACE_ON
  22. #define WPP_INIT_TRACING(_X)
  23. #define WPP_CLEANUP()
  24. #define TRACE(_level, _msg)
  25. #endif // #ifdef TRACE_ON