DDK_TARGET_OS

The DDK_TARGET_OS environment variable specifies the version of Windows for which your binaries will be built.

DDK_TARGET_OS is defined in the Windows Driver Kit (WDK) build environments as follows:

Build environment Value of DDK_TARGET_OS

Windows 7

Win7

Windows Vista

WinLH

Windows Server 2003

WinNET

Windows XP

WinXP

 

You can use $(DDK_TARGET_OS) in a Sources file to determine the environment in which you are building. For an example, see the Sources file in the src\general\pcidrv\sys\hw directory of the WDK.

Important  Do not change the value of this environment variable. It is set by the SetEnv.bat file when the build environment is created. For more information, see Using the SetEnv.bat Command-Line.

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011