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.
 
 
 
 
 
 

20 lines
288 B

#include "dbg.h"
#ifdef DEBUG
void __cdecl DbgTrace(DWORD, LPTSTR pszMsg, ...)
{
TCHAR szBuf[4096];
va_list vArgs;
va_start(vArgs, pszMsg);
wvsprintf(szBuf, pszMsg, vArgs);
va_end(vArgs);
OutputDebugString(szBuf);
OutputDebugString(TEXT("\n"));
}
#endif