windows-nt/Source/XPSP1/NT/net/dlc/driver/dbgmsg.h

45 lines
854 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
dbgmsg.h
Abstract:
Debug message macros and zones.
Author:
Scott Holden (sholden) 2/8/1999
Revision History:
--*/
#if DBG
extern int DbgSettings;
#define DEBUGZONE(n) (DbgSettings & (0x00000001<<n))
#define DEBUGMSG(dbgs,format) ((dbgs) ? DbgPrint format:0)
#define DBG_INIT DEBUGZONE(0)
#define DBG_NDIS_OPEN DEBUGZONE(1)
#define DBG_NDIS_BIND DEBUGZONE(2)
#define DBG_NDIS_TX DEBUGZONE(3)
#define DBG_NDIS_RX DEBUGZONE(4)
#define DBG_REF DEBUGZONE(28)
#define DBG_VERBOSE DEBUGZONE(29)
#define DBG_WARN DEBUGZONE(30)
#define DBG_ERROR DEBUGZONE(31)
#else
#define DEBUGMSG(d,f) (0)
#endif