mirror of https://github.com/tongzx/nt5src
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.
38 lines
875 B
38 lines
875 B
/*******************************************************************************
|
|
*
|
|
* (C) COPYRIGHT MICROSOFT CORP., 1993-1995
|
|
* TITLE: DEBUG.CPP
|
|
* VERSION: 1.0
|
|
* AUTHOR: jsenior
|
|
* DATE: 10/28/1998
|
|
*
|
|
********************************************************************************
|
|
*
|
|
* CHANGE LOG:
|
|
*
|
|
* DATE REV DESCRIPTION
|
|
* ---------- ------- ----------------------------------------------------------
|
|
* 10/28/1998 jsenior Original implementation.
|
|
*
|
|
*******************************************************************************/
|
|
#include "precomp.hxx"
|
|
#include "debug.h"
|
|
|
|
#if DBG
|
|
ULONG IRDA_Debug_Trace_Level = LWARN;
|
|
#endif // DBG
|
|
|
|
void TRACE(LPCTSTR Format, ...)
|
|
{
|
|
va_list arglist;
|
|
va_start(arglist, Format);
|
|
|
|
TCHAR buf[200];
|
|
|
|
wvsprintf(buf, Format, arglist);
|
|
OutputDebugString(buf);
|
|
|
|
va_end(arglist);
|
|
}
|
|
|
|
|