Kernel-Mode Driver Framework (KMDF)

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).

An Important Notice about KMDF and UMDF 1.7
Two patches from Windows Update (KB 938371 and KB 933607) interfere with installation of the Kernel-Mode Driver Framework and the User-Mode Driver Framework on Windows Vista.

To resolve these issues, Microsoft has released updated WDF 1.7 co-installers. To read the full announcement and download the MSI package, go to the Microsoft Connect Web site (log-in required).
Announcement date: April 18, 2008

Top of pageTop of page

Related Blogs

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

How do I cancel an IRP that another thread may be completing at the same time?
Mon, 30 Jun 2008 06:16:00 GMT

What should you change in a sample before you ship it?
Wed, 23 Apr 2008 18:41:19 GMT

The WDF 1.7 cointstallers are now available
Thu, 17 Apr 2008 23:20: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 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]
Windows MultimediaHow to Develop a KMDF Driver: Part 1
Windows MultimediaHow to Develop a KMDF Driver: Part 2

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


Top of pageTop of page