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.
 
 
 
 
 
 

66 lines
1.1 KiB

/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
debug.h
Abstract:
Debug infrastructure for this component.
(currently inactive)
Author:
Jim Cavalaris (jamesca) 07-Mar-2000
Environment:
User-mode only.
Revision History:
07-March-2000 jamesca
Creation and initial implementation.
--*/
//
// debug infrastructure
//
#if DBG
#define DBGF_ERRORS DPFLTR_ERROR_LEVEL
#define DBGF_WARNINGS DPFLTR_WARNING_LEVEL
#define DBGF_TRACE DPFLTR_TRACE_LEVEL
#define DBGF_INFO DPFLTR_INFO_LEVEL
#define DBGF_REGISTRY DPFLTR_INFO_LEVEL
VOID
pSifDebugPrintEx(
DWORD Level,
PCTSTR Format,
... OPTIONAL
);
ULONG
DebugPrint(
IN ULONG Level,
IN PCHAR Format,
...
);
#define DBGTRACE(x) pSifDebugPrintEx x
#define MYASSERT(x) ASSERT(x)
#else // !DBG
#define DBGTRACE(x)
#define MYASSERT(x)
#endif // DBG