These two papers provide a guide for porting drivers from the Windows Driver Model (WDM) to the kernel-mode driver framework (KMDF) component of the Windows Driver Framework (WDF) for the Microsoft Windows family of operating systems.
Porting Drivers from WDM to WDF outlines a strategy for porting and describes differences between the two driver models in detail. Summary of KMDF and WDM Equivalents includes tables that show the corresponding KMDF and WDM object types, functions, and buffer pointers.
This information applies for the following operating systems:
Microsoft Windows Vista
Microsoft Windows Server 2003
Microsoft Windows XP
Microsoft Windows 2000
Included in Porting Drivers from WDM to KMDF:
| • | Which Drivers Can Be Ported |
| • | Why to Port a Driver |
| • | Differences between WDM and KMDF |
| • | Strategies for Porting |
| • | DriverEntry Routine |
| • | EvtDriverDeviceAdd Callback |
| • | Plug and Play and Power Management |
| • | Interrupts |
| • | I/O Queues and I/O Requests |
| • | DMA Support |
| • | WMI Support |
| • | Timers, DPCs, and Work Items |
| • | Requests that KMDF Does Not Support |
| • | Installation Procedure |
| • | General Guidelines for Porting |
Included in Summary of KMDF and WDM Equivalents:
| • | Design Goals for WDF |
| • | KMDF and WDM Object Types |
| • | WDM Driver Routines and Corresponding KMDF Event Callbacks |
| • | KMDF Methods and WDM Equivalents |
| • | WDM Equivalents for KMDF Buffer Pointers |
| • | WDM IRPs and KMDF Event Callback Functions |
See also:
Architecture of the Kernel-Mode Driver Framework
Sample Drivers for the Kernel-Mode Driver Framework
Introduction to Plug and Play and Power Management in the Windows Driver Foundation
DMA Support in Windows Drivers
I/O Request Flow in WDF Kernel-Mode Drivers