because there is not a file named prefast.bat in C:\WINDDK\2600
Compatibility
DDKWizard (1.2.0a) has been tested on the following configurations:
Visual Studio Professional .NET with WNET DDK and DDKBUILD.CMD on Windows 2003 Server R2 Standard
Visual Studio Professional .NET 2003 with WNET DDK and DDKBUILD.CMD on Windows 2003 Server R2 Standard
Visual C++ 2005 Express with WNET DDK and DDKBUILD.CMD on Windows 2003 Server R2 Standard
Visual Studio 2005 Professional with WNET DDK and DDKBUILD.CMD on Windows 2003 Server R2 Standard
Visual Studio 2008 Professional with WNET DDK and DDKBUILD.CMD on Windows XP
1>------ 已跳过生成: 项目: EmptyDriver1.WNET, 配置: WNET2K checked (PREfast) Win32 ------
1>没有为此解决方案配置选中要生成的项目
2>------ 已启动生成: 项目: EmptyDriver1.WLH, 配置: WLH checked (PREfast) Win32 ------
2>正在执行生成文件项目操作
2>OSR DDKBUILD.CMD V7.2 (2008-04-14) - OSR, Open Systems Resources, Inc.
2>DDKBLD: >> Setting custom environment variables [ddkbldenv.cmd] ...
2>DDKBLD: << Finished setting custom environment variables [ddkbldenv.cmd] ...
2>DDKBLD: ERROR #3: To build using type WLH you need to set the %WLHBASE% environment variable to point to the Windows Vista/Windows 2008 Server DDK base directory!
2>USAGE:
2>======
2>ddkbuild <platform> <build type> <directory> [flags] [-WDF] [-PREFAST]
2>Values for <platform>:
2> -------------------------------------------------------------
2> Target platform and DDK | Miscellaneous
2> ---------------------------|---------------------------------
2> Platform | DDK | CPU | Base directory | Platform alias
2> ------------|-------|------|----------------|----------------
2> -W2K | W2K | x86 | %W2KBASE% |
2> -W2K64 | W2K | IA64 | %W2KBASE% | -W2KI64
2> -WXP | WXP | x86 | %WXPBASE% |
2> -WXP64 | WXP | IA64 | %WXPBASE% | -WXPI64
2> -WXP2K | W2K | x86 | %WXPBASE% |
2> -WNET | WNET | x86 | %WNETBASE% |
2> -WNET64 | WNET | IA64 | %WNETBASE% | -WNETI64
2> -WNETXP | WXP | x86 | %WNETBASE% |
2> -WNETXP64 | WXP | IA64 | %WNETBASE% |
2> -WNETAMD64 | WNET | x64 | %WNETBASE% | -WNETX64
2> -WNET2K | W2K | x86 | %WNETBASE% |
2> -WLH | WLH | x86 | %WLHBASE% |
2> -WLH2K | W2K | x86 | %WLHBASE% |
2> -WLHXP | WXP | x86 | %WLHBASE% |
2> -WLHXP64 | WXP | IA64 | %WLHBASE% |
2> -WLHNET | WNET | x86 | %WLHBASE% |
2> -WLHNETI64 | WNET | IA64 | %WLHBASE% |
2> -WLHNETX64 | WNET | x64 | %WLHBASE% |
2> -WLHI64 | WLH | IA64 | %WLHBASE% |
2> -WLHX64 | WLH | x64 | %WLHBASE% |
2> -NT4 | NT4 | x86 | %NT4BASE% |
2> -------------------------------------------------------------
2> Support for NT4 and W2K DDKs is deprecated and not checked
2> anymore in new versions. It may or may not work.
2> -------------------------------------------------------------
2>Values for <build type>:
2> checked, chk indicates a checked build
2> free, fre indicates a free build
2>Remaining parameters ("opt!" = optional parameter):
2> <directory> path to build directory, try . (current directory)
2> [flags] opt! any flags you think should be passed to build (try /a
2> for clean)
2> -WDF opt! performs a WDF build
2> -PREFAST opt! performs a PREFAST build
2>Special files:
2> The build target directory (where the DIRS or SOURCES file resides) can
2> contain the following files:
2> - ddkprebld.cmd
2> Allows to include a step before the BUILD tool from the DDK is called
2> but after the environment for the respective DDK has been set!
2> - ddkpostbld.cmd
2> Allows to include a step after the BUILD tool from the DDK is called,
2> so the environment is still available to the script.
2> - ddkbldenv.cmd
2> Allows to set (or override) _any_ environment variables that may exist
2> in the global environment. Thus you can set the base directory for the
2> DDK from inside this script, making your project more self-contained.
2> DDKBUILD will only handle those files which exist, so you may choose to
2> use none, one or multiple of these script files.
2> (All scripts execute inside there current directory. Consider this!)
2>Examples:
2> "ddkbuild -NT4 checked ." (for NT4 BUILD)
2> "ddkbuild -WXP64 chk ."
2> "ddkbuild -WXP chk c:\projects\myproject"
2> "ddkbuild -WNET64 chk ." (IA64 build)
2> "ddkbuild -WNETAMD64 chk ." (AMD64/EM64T build)
2> "ddkbuild -WNETXP chk . -cZ -WDF"
2> "ddkbuild -WNETXP chk . -cZ -PREFAST"
2> In order for this procedure to work correctly for each platform, it
2> requires an environment variable to be set up for certain platforms.
2> There is an auto-detection mechanism in this script, which will work best
2> if the DDK/WDK was installed using the normal installer (i.e. not just
2> copied). The auto-detection is based on the DDK/WDK for which you request
2> a build. Whenever you set the variable explicitly, this will take
2> precedence over the auto-detected path!
2> The environment variables are as follows:
2> %NT4BASE% - Set this up for "-NT4" builds
2> %W2KBASE% - Set this up for "-W2K" and "-W2K64" builds
2> %WXPBASE% - Set this up for "-WXP", "-WXP64", "-WXP2K" builds
2> %WNETBASE% - Set this up for "-WNET*" builds
2> %WLHBASE% - Set this up for "-WLH*" builds
2> %WDF_ROOT% must be set if attempting to do a WDF Build previous to the
2> Vista WDK (in later DDKs there is no need to set WDF_ROOT).
2> OSR DDKBUILD.CMD V7.2 (2008-04-14) - OSR, Open Systems Resources, Inc.
2> -> report any problems found to info@osr.com or http://assarbad.net/contact
2>生成日志保存在“file://c:\Documents and Settings\peng\My Documents\Visual Studio 2008\Projects\EmptyDriver1\EmptyDriver1\BuildLog.htm”
2>EmptyDriver1.WLH - 0 个错误,0 个警告
========== 生成: 成功 1 个,失败 0 个,最新 0 个,跳过 1 个 ==========