Kernel-Mode Driver Framework (KMDF)

Updated: November 3, 2009

KMDF implements the fundamental features required for kernel-mode drivers.

KMDF drivers require minimal common code for default operations because most such code resides in the framework, where Microsoft can ensure that it is compatible with each successive release of Windows. A driver includes code to support events to which its device must respond and features that are unique to its device. KMDF is provided as part of the current release of the Windows Driver Kit (WDK).

Top of pageTop of page

Related Blogs

A Hole In My Head
Doron Holan's musings on drivers and other nibbles and bits

WDFREQUESTs are for sharing in KMDF v1.9
Fri, 06 Mar 2009 00:48:14 GMT

WDFREQUESTs are not for sharing
Thu, 05 Mar 2009 03:58:00 GMT

Great WinHEC presentation on device interfaces compared to device clases
Wed, 04 Feb 2009 04:03:00 GMT

Top of pageTop of page

KMDF Overview and Architecture
White PaperArchitecture of the Kernel-Mode Driver Framework
Windows MultimediaDoron Holan discusses KMDF
OtherDeveloping Drivers with Windows Driver Foundation by Orwick and Smith
Comprehensive Guide from Microsoft Press

KMDF How-To and Samples
White PaperBus Driver Development Based on KMDF
White PaperDebugger Extensions for KMDF
White PaperHow to Build, Install, Test, and Debug a KMDF Driver
White PaperSample Drivers for the Kernel-Mode Driver Framework
Microsoft Powerpoint (.ppt)How to Develop a KMDF Driver [517 KB]
Microsoft Powerpoint (.ppt)KMDF: How to Develop Framework Drivers [1.9 MB]
Microsoft Powerpoint (.ppt)Using KMDF in Miniport Drivers
Windows MultimediaHow to Develop a KMDF Driver: Part 1
Windows MultimediaHow to Develop a KMDF Driver: Part 2
WHDC Portal/NodalDebugging Kernel-Mode Driver Framework Drivers  

KMDF Driver Implementation Details
White PaperDMA Support in KMDF Drivers
White PaperI/O Flow and Dispatching in WDF Drivers
White PaperPlug and Play and Power Management in WDF Drivers
White PaperWriting USB Drivers with WDF

Porting from WDM to KMDF
White PaperWDM to KMDF Porting Guide
Microsoft Powerpoint (.ppt)How to Port WDM Drivers to KMDF [749 KB]
Windows MultimediaHow to Port a WDM Driver to the KMDF: Part 1
Windows MultimediaHow to Port a WDM Driver to the KMDF: Part 2

KMDF Tips
White PaperHow to Enable the Frameworks Verifier
White PaperHow to Use the KMDF Log
White PaperIs That Handle Still Valid?
White PaperTroubleshooting KMDF Driver Installation
White PaperWhen does EvtCleanupCallback run?
Microsoft.comHow to View the KMDF Log for Your Driver

Resources
White PaperWDK Documentation Download
WHDC Portal/NodalDriver Developer Community Resources
WHDC Portal/NodalDriver Signing Requirements for Windows
WHDC Portal/NodalDriver Tips: Best Practices for Windows Device Drivers
WHDC Portal/NodalNotes from Windows Development Teams
WHDC Portal/NodalSupport for Developer Kits and Tools
OtherDriver Developer Blogs
Microsoft.comWDK Documentation on MSDN  


Top of pageTop of page