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.

56 lines
985 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. sinkcomn.hxx
  5. Abstract:
  6. Header file that includes common stuff for the Test subscriber to SENS.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 11/12/1997 Start.
  13. --*/
  14. #ifndef __SINKCOMN_HXX__
  15. #define __SINKCOMN_HXX__
  16. //
  17. // Reset the SensPrintXXX macros for the Test subscriber so that they actually
  18. // print something on the console.
  19. //
  20. #undef SensPrint
  21. #undef SensPrintA
  22. #undef SensPrintW
  23. #if !defined(SENS_CHICAGO)
  24. #define SensPrint(_LEVEL_, _X_) wprintf _X_
  25. #define SensPrintA(_LEVEL_, _X_) printf _X_
  26. #define SensPrintW(_LEVEL_, _X_) wprintf _X_
  27. #else // SENS_CHICAGO
  28. #define SensPrint(_LEVEL_, _X_) printf _X_
  29. #define SensPrintA(_LEVEL_, _X_) printf _X_
  30. #define SensPrintW(_LEVEL_, _X_) wprintf _X_
  31. #endif // SENS_CHICAGO
  32. #endif // __SINKCOMN_HXX__