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.

38 lines
875 B

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1993-1995
  4. * TITLE: DEBUG.CPP
  5. * VERSION: 1.0
  6. * AUTHOR: jsenior
  7. * DATE: 10/28/1998
  8. *
  9. ********************************************************************************
  10. *
  11. * CHANGE LOG:
  12. *
  13. * DATE REV DESCRIPTION
  14. * ---------- ------- ----------------------------------------------------------
  15. * 10/28/1998 jsenior Original implementation.
  16. *
  17. *******************************************************************************/
  18. #include "precomp.hxx"
  19. #include "debug.h"
  20. #if DBG
  21. ULONG IRDA_Debug_Trace_Level = LWARN;
  22. #endif // DBG
  23. void TRACE(LPCTSTR Format, ...)
  24. {
  25. va_list arglist;
  26. va_start(arglist, Format);
  27. TCHAR buf[200];
  28. wvsprintf(buf, Format, arglist);
  29. OutputDebugString(buf);
  30. va_end(arglist);
  31. }