windows-nt/Source/XPSP1/NT/enduser/netmeeting/as/as16/trc.c
2020-09-26 16:20:57 +08:00

45 lines
595 B
C

//
// TRC.C
// Debug tracing utilities
//
// Copyright(c) Microsoft 1997-
//
#include <as16.h>
#ifdef _DEBUG
// Set g_trcConfig to ZONE_FUNCTION in the debugger to get fn tracing on
//
// DbgZPrintFn()
// DbgZPrintFnExitDWORD()
//
// This prints out strings for function tracing
//
void DbgZPrintFn(LPSTR szFn)
{
if (g_trcConfig & ZONE_FUNCTION)
{
WARNING_OUT(("%s", szFn));
}
}
void DbgZPrintFnExitDWORD(LPSTR szFn, DWORD dwResult)
{
if (g_trcConfig & ZONE_FUNCTION)
{
WARNING_OUT(("%s, RETURN %08lx", szFn, dwResult));
}
}
#endif // DEBUG