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.

19 lines
288 B

  1. #include "dbg.h"
  2. #ifdef DEBUG
  3. void __cdecl DbgTrace(DWORD, LPTSTR pszMsg, ...)
  4. {
  5. TCHAR szBuf[4096];
  6. va_list vArgs;
  7. va_start(vArgs, pszMsg);
  8. wvsprintf(szBuf, pszMsg, vArgs);
  9. va_end(vArgs);
  10. OutputDebugString(szBuf);
  11. OutputDebugString(TEXT("\n"));
  12. }
  13. #endif