Hi, people!
I just created simple project and open its options. I see next command line :
Active(Debug) -> “Configuration properties” -> “CC++” -> “command line” :
/I “C:WinDDK7600.16385.1incddk” /I “C:WinDDK7600.16385.1incapi” /I “C:WinDDK7600.16385.1inccrt” /D “WIN32” /D “_CONSOLE” /D “_X86_” /D “_DDK_” /D “_DEBUG” /X /FD /MTd /GS- /GR- /Fo”Debug\” /Fd”Debugvc90.pdb” /nologo /c /Zi /Gz /TP /errorReport:prompt
But wdm.h file consist :
#if DBG
#define KdPrint(_x_) DbgPrint _x_
#define KdPrintEx(_x_) DbgPrintEx _x_
#define vKdPrintEx(_x_) vDbgPrintEx _x_
#define vKdPrintExWithPrefix(_x_) vDbgPrintExWithPrefix _x_
#define KdBreakPoint() DbgBreakPoint()
#define KdBreakPointWithStatus(s) DbgBreakPointWithStatus(s)
#else
Why template without “DBG” macro definition ?