Chapter 12. Programming KMDF Hardware Driver

This chapter will cover the sample PCIDRV sample driver, and how to use it to create a KMDF hardware driver.

The sample PCIDRV driver is a fully functional KMDF driver for the Intel 82557/82558 based-PCI Ethernet Adapter (10/100) and Intel compatibles. This device can use either port or memory resources to control the device. It can be stopped and started at run time and supports a low-power state. The driver supports multiple concurrent read and write requests for the device.

The PCIDRV sample is installed in the samples directory at pcidrv\sys. The sample supports the following features in addition to those previously described for the Toaster samples:

• Handling Plug and Play and power events ...

Get Windows 7 Device Driver now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.