windows-nt/Source/XPSP1/NT/shell/services/hdsrv/lib/dbg.cpp
2020-09-26 16:20:57 +08:00

20 lines
288 B
C++

#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