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.
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.
Running the build command
The Checked Build Environment for Windows XP in action
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.
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.