DDKBUILDENV
The DDKBUILDENV macro specifies the type of build environment, checked or free.
This macro is always defined in the Windows Driver Kit (WDK) build environments. In the free build environment, the variable is defined as fre. In the checked build environment, the variable is defined as chk.
You can use $(DDKBUILDENV) in a Sources file to test what environment you are building on.
You should not change this macro. Changing this variable will not convert a checked build environment into a free build environment or vice versa.
Send comments about this topic to Microsoft
Build date: 5/3/2011