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.

22 lines
355 B

  1. #include "iisprov.h"
  2. #include <stdio.h>
  3. #include <stdarg.h>
  4. #include "debug.h"
  5. #if DBG
  6. void __cdecl
  7. Trace(
  8. LPCWSTR ptszFormat,
  9. ...)
  10. {
  11. WCHAR tszBuff[2048];
  12. va_list args;
  13. va_start(args, ptszFormat);
  14. vswprintf(tszBuff, ptszFormat, args);
  15. va_end(args);
  16. OutputDebugString(tszBuff);
  17. }
  18. #endif // DBG