The Windows Driver Kit (WDK) 6

 

 

 

 

 

Verifying WDK Installation

 

To verify that you have properly installed the Windows Driver Kit (WDK), complete the following steps:

 

1.   Start a Windows XP Checked Build Environment Command Prompt window:

 

a.       Click the Start button, and then click All Programs.

b.      Point to Windows Driver Kits, point to your selected WDK XXXX, point to Build Environments, and then point to Windows XP (or your chosen Windows OS).

c.       Click Windows XP Checked Build Environment to create the build environment for the chosen Windows platform.

 

Verifying the WDK Installation: Running the Build Environment for Windows XP

 

Running the Checked Build Environment for Windows XP

 

2.   At the command prompt, type build –cZ to compile and link the complete set of installed sources. This command can take more than 30 minutes to complete, depending on which WDK components are installed and the system on which the build is being performed.

 

Verifying the WDK Installation: Running the Build -cZ command

 

Running the build command

 

Verifying the WDK Installation: The Build Environment for Win XP in progress

 

The Checked Build Environment for Windows XP in action

 

Verifying the WDK Installation: The Build Environment for Win XP in progress 1

 

More action for the Checked Build Environment for Windows XP

 

3.   The build command should complete with no errors and/or warnings displayed as shown below.

 

Verifying the WDK Installation: The Build Environment for Win XP in progress 2

 

The Checked Build Environment for Windows XP is completed without any error.

 

By invoking the PREFast, you can see the warnings and errors in details (if any).

 

 

The warnings and error can be seen by invoking the menus by right-clicking the icon tray.

 

 

 

The next tutorial, will try to demonstrate the steps on how to build the Windows driver using a given sample code.

 

 

 

 

< Windows Driver Kit (WDK) 5 | Windows Driver Kit (WDK) Programming | Win32 Programming | Windows Driver Kit (WDK) 7 >