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.

29 lines
842 B

  1. `**********************************************************************`
  2. `* This is an include template file for tracewpp preprocessor. *`
  3. `* *`
  4. `* Copyright 1999-2000 Microsoft Corporation. All Rights Reserved. *`
  5. `**********************************************************************`
  6. // template `TemplateFile`
  7. `FORALL f IN Funcs`
  8. #define WPP`f.GooId`_LOGGER(`f.GooArgs`) // `f.Name`
  9. `ENDFOR`
  10. #ifndef WPP_LOGGER_ARG
  11. # define WPP_LOGGER_ARG
  12. #endif
  13. #ifndef WPP_GET_LOGGER
  14. #define WPP_GET_LOGGER WppGetLogger()
  15. __inline TRACEHANDLE WppGetLogger()
  16. {
  17. static TRACEHANDLE Logger;
  18. if (Logger) {return Logger;}
  19. return Logger = WppQueryLogger(0);
  20. }
  21. #endif
  22. #ifndef WPP_ENABLED
  23. # define WPP_ENABLED() 1
  24. #endif