MyPCIa WDM Driver



Summary

This directory contains project files for the MyPCIa WDM Driver.

Building the Driver

Open MyPCIa.dsp in the Visual Studio 6.0 IDE, select the “Win32 Checked” configuration, then either select the MyPCIa project or you can build the entire solution/workspace. The build creates a file named MyPCIa.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, MyPCIa.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 MyPCIa.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 MyPCIa.dsp in the Visual Studio 6.0 IDE, select the “Win32 Checked” configuration, then either select the MyPCIaApp project or you can build the entire solution/workspace. The build creates a file named MyPCIaApp.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
 MyPCIa.inf  Driver setup information file
 MyPCIaDriver.cpp  Main driver implementation file
 MyPCIaDriver.h  Main driver declaration file
 MyPCIaDevice.cpp  Main device class implementation file
 MyPCIaDevice.h  Main device class declaration file
 function.h  Driver request handlers declaration file
 MyPCIa.cat  Catalog file
 MyPCIa.rc  Driver resource file
 intrface.h  IOCTL declaration file
 makefile  Used by the DDK utility BUILD.EXE.
 sources  Build information for the DDK utility BUILD.EXE
 MyPCIa.dsp  Visual Studio 6.0 project file
 dirs  Build information for the DDK utility BUILD.EXE
 MyPCIa.dsw  Visual Studio 6.0 workspace file
 ReadMe.htm  This file
 MyPCIaVars.xml  Wizard project settings file (Do not delete)
   
Test Application File Description
 MyPCIaApp.cpp  Main test application implementation file
 MyPCIaIorw.cpp  Test application IO implementation file
 MyPCIaApp.rc  Test application resource file
 MyPCIaApp.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
 MyPCIaApp.dsp  Visual Studio 6.0 project file


Return to Top of Page

 

© Copyright 2003 Compuware Corporation