//
// Define kernel debugger print prototypes and macros.
//
// N.B. The following function cannot be directly imported because there are
// a few places in the source tree where this function is redefined.
//
#if DBG
#define KdPrint(_x_) DbgPrint _x_
#define KdPrintEx(_x_) DbgPrintEx _x_
#else
#define KdPrint(_x_)
#define KdPrintEx(_x_)
#endif // DBG
#ifndef _DBGNT_
ULONG
__cdecl
DbgPrint (
__in_z __drv_formatString(printf) PCSTR Format,
...
);
#if (NTDDI_VERSION >= NTDDI_WINXP)
NTSYSAPI
ULONG
__cdecl
DbgPrintEx (
__in ULONG ComponentId,
__in ULONG Level,
__in_z __drv_formatString(printf) PCSTR Format,
...
);
#endif
#endif // _DBGNT_