User`s manual
12.7 Compile Your Kernel PlugIn Driver
144
12.7 Compile Your Kernel PlugIn Driver
12.7.1 On Windows
The sample WinDriver\samples\pci_diag\kp_pci Kernel PlugIn directory and the
generated DriverWizard Kernel PlugIn <project_dir>\kermode directory (where
<project_dir> is the directory in which you selected to save the generated driver
project) contain the following Kernel PlugIn project files (where xxx is the driver
name – pci for the sample / the name you selected when generating the code with the
wizard):
• x86\ – 32-bit project files:
– msdev_2005\kp_xxx.vcproj – 32-bit MSDEV 2005 project.
– msdev_2003\kp_xxx.vcproj – 32-bit MSDEV 2003 project.
– msdev_6\kp_xxx.dsp – 32-bit MSDEV 6.0 project.
• amd64\ – 64-bit project files:
– msdev_2005\kp_xxx.vcproj – 64-bit MSDEV 2005 project.
The sample WinDriver\samples\pci_diag directory and the generated
<project_dir>\ directory contain the following project files for the user-mode
application that drives the respective Kernel PlugIn driver (where xxx is the driver
name – pci for the sample / the name you selected when generating the code with the
wizard):
• x86\ – 32-bit project files:
– msdev_2005\xxx_diag.vcproj – 32-bit MSDEV 2005 project.
– msdev_2003\xxx_diag.vcproj – 32-bit MSDEV 2003 project.
– msdev_6\xxx_diag.dsp – 32-bit MSDEV 6.0 project.
– cbuilder4\xxx.bpr and xxx.cpp – Borland C++ Builder 4.0 project file
and related CPP file. These files can also be used from version 5.0 and 6.0
of Borland C++ Builder.
– cbuilder3\xxx.bpr and xxx.cpp – Borland C++ Builder 3.0 project file
and related CPP file.
• amd64\ – 64-bit project files:
– msdev_2005\xxx_diag.vcproj – 64-bit MSDEV 2005 project.
The MSDEV directories listed above also contain xxx_diag.dsw/.sln
workspace/solution files that include both the Kernel PlugIn and user-mode
projects.










