windows-nt/Source/XPSP1/NT/shell/services/hdsrv/lib/dbg.cpp

20 lines
288 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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