windows-nt/Source/XPSP1/NT/net/layer2svc/wlpolicy/tracing.c

32 lines
481 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "precomp.h"
// global tracing variables
DWORD g_WirelessTraceLog;
// debug utility calls
VOID _WirelessDbg(DWORD dwFlags, LPCSTR lpFormat, ...)
{
va_list arglist;
va_start(arglist, lpFormat);
TraceVprintfExA(
g_WirelessTraceLog,
dwFlags | TRACE_USE_MASK,
lpFormat,
arglist);
}
VOID WiFiTrcInit()
{
g_WirelessTraceLog = TraceRegister(WIFI_TRC_NAME);
}
VOID WiFiTrcTerm()
{
TraceDeregister(g_WirelessTraceLog);
}