Leaked source code of windows server 2003
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.
 
 
 
 
 
 

44 lines
898 B

/*++
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