A5M1 WDM Driver



Summary

This directory contains project files for the A5M1 WDM Driver.

Building the Driver

Open A5M1.dsp in the Visual Studio 6.0 IDE, select the “Win32 Checked” configuration, then either select the A5M1 project or you can build the entire solution/workspace. The build creates a file named A5M1.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, A5M1.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 A5M1.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 A5M1.dsp in the Visual Studio 6.0 IDE, select the “Win32 Checked” configuration, then either select the A5M1App project or you can build the entire solution/workspace. The build creates a file named A5M1App.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
 usb.c  Universal Serial Bus interface implementation file
 registry.c  Registry access implementation file
 debug.c  Debug print implementation file
 A5M1.ctl  Driver WPP trace control file
 pch.h  Precompiled header file
 A5M1.inf  Driver setup information file
 A5M1.c  Main driver implementation file
 A5M1.h  Main driver declaration file
 wmi.c  Windows Management Interface implementation file
 iorw.c  IO dispatch implementation file
 A5M1.cat  Catalog file
 A5M1.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
 A5M1.dsp  Visual Studio 6.0 project file
 dirs  Build information for the DDK utility BUILD.EXE
 A5M1.dsw  Visual Studio 6.0 workspace file
 ReadMe.htm  This file
 A5M1Vars.xml  Wizard project settings file (Do not delete)
   
Test Application File Description
 A5M1App.cpp  Main test application implementation file
 A5M1Iorw.cpp  Test application IO implementation file
 A5M1App.rc  Test application resource file
 A5M1App.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
 A5M1App.dsp  Visual Studio 6.0 project file


Return to Top of Page

 

© Copyright 2003 Compuware Corporation