DevicePCI WDM Driver



Summary

This directory contains project files for the DevicePCI WDM Driver.

Building the Driver

Open DevicePCI.dsp in the Visual Studio 6.0 IDE, or open DevicePCI.sln in the Visual Studio .NET 2003 IDE, select the “Win32 Checked” configuration, then either select the DevicePCI project or you can build the entire solution/workspace. The build creates a file named DevicePCI.sys. You will need a Microsoft Device Driver Development Kit (DDK) build version 2600.1106 or later (XP SP1 DDK). Alternatively, the driver can be built from a DDK build environment command-line using build.exe. Just type build -ceZ from the driver directory location.

Installing the WDM Driver

The driver, DevicePCI.sys, must be loaded in a plug and play friendly fashion. If the driver is for a plug and play device such as a PCI, USB, or IEEE 1394 device, often the device will already be listed in the Device Manager under “Other Devices”. If the device is already listed, double click on the device, and, when the properties dialog comes up, select Update driver from the driver tab. Choose to specify the location of the driver file, and browse to the folder containing DevicePCI.inf. The device manager should then load the driver. If the device is not in the device manager, the driver may be loaded by using the Add New Hardware option in the control panel. It is also possible to load the driver using the EZDriverInstaller available in the start menu under Compuware DriverStudio | Test.

Building the Application

Open DevicePCI.dsp in the Visual Studio 6.0 IDE, or open DevicePCI.sln in the Visual Studio .NET 2003 IDE, select the “Win32 Checked” configuration, then either select the DevicePCIApp project or you can build the entire solution/workspace. The build creates a file named DevicePCIApp.exe. Alternatively, the application can be built from a DDK build environment command-line using build.exe. Just type build -ceZ from the application directory location.

File Manifest

Driver File Description
 makefile  Used by the DDK utility BUILD.EXE.
 interrupt.c  ISR and DPC implementation file
 registry.c  Registry access implementation file
 debug.c  Debug print implementation file
 DevicePCI.ctl  Driver WPP trace control file
 pch.h  Precompiled header file
 DevicePCI.inf  Driver setup information file
 DevicePCI.c  Main driver implementation file
 DevicePCI.h  Main driver declaration file
 wmi.c  Windows Management Interface implementation file
 iorw.c  IO dispatch implementation file
 DevicePCI.cat  Catalog file
 DevicePCI.rc  Driver resource file
 queue.c  IRP queue implementation file
 pnp.c  Plug and play implementation file
 power.c  Power management implementation file
 DevicePCI.dsp  Visual Studio 6.0 project file
 DevicePCI.vcproj  Visual Studio .NET 2003 project file
 sources  Build information for the DDK utility BUILD.EXE
 intrface.h  IOCTL declaration file
 dirs  Build information for the DDK utility BUILD.EXE
 DevicePCI.dsw  Visual Studio 6.0 workspace file
 DevicePCI.sln  Visual Studio .NET 2003 workspace file
 ReadMe.htm  This file
 DevicePCIVars.xml  Wizard project settings file (Do not delete)
   
Test Application File Description
 DevicePCIApp.cpp  Main test application implementation file
 DevicePCIIorw.cpp  Test application IO implementation file
 DevicePCIApp.rc  Test application resource file
 DevicePCIApp.h  Test application main declaration file
 resource.h  Resource constant declaration file
 makefile  Used by the DDK utility BUILD.EXE.
 sources  Build information for the DDK utility BUILD.EXE
 DevicePCIApp.dsp  Visual Studio 6.0 project file
 DevicePCIApp.vcproj  Visual Studio .NET 2003 project file


Return to Top of Page

 

© Copyright 2003 Compuware Corporation