MyPCIc WDM Driver



Summary

This directory contains project files for the MyPCIc WDM Driver.

Building the Driver

Open MyPCIc.dsp in the Visual Studio 6.0 IDE, select the “Win32 Checked” configuration, then either select the MyPCIc project or you can build the entire solution/workspace. The build creates a file named MyPCIc.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, MyPCIc.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 MyPCIc.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 MyPCIc.dsp in the Visual Studio 6.0 IDE, select the “Win32 Checked” configuration, then either select the MyPCIcApp project or you can build the entire solution/workspace. The build creates a file named MyPCIcApp.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
 registry.c  Registry access implementation file
 debug.c  Debug print implementation file
 MyPCIc.ctl  Driver WPP trace control file
 pch.h  Precompiled header file
 MyPCIc.inf  Driver setup information file
 MyPCIc.c  Main driver implementation file
 MyPCIc.h  Main driver declaration file
 wmi.c  Windows Management Interface implementation file
 iorw.c  IO dispatch implementation file
 MyPCIc.cat  Catalog file
 MyPCIc.rc  Driver resource file
 queue.c  IRP queue implementation file
 pnp.c  Plug and play implementation file
 power.c  Power management implementation file
 intrface.h  IOCTL declaration file
 makefile  Used by the DDK utility BUILD.EXE.
 sources  Build information for the DDK utility BUILD.EXE
 MyPCIc.dsp  Visual Studio 6.0 project file
 dirs  Build information for the DDK utility BUILD.EXE
 MyPCIc.dsw  Visual Studio 6.0 workspace file
 ReadMe.htm  This file
 MyPCIcVars.xml  Wizard project settings file (Do not delete)
   
Test Application File Description
 MyPCIcApp.cpp  Main test application implementation file
 MyPCIcIorw.cpp  Test application IO implementation file
 MyPCIcApp.rc  Test application resource file
 MyPCIcApp.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
 MyPCIcApp.dsp  Visual Studio 6.0 project file


Return to Top of Page

 

© Copyright 2003 Compuware Corporation