Kernel-Mode Driver Framework (KMDF)

Updated: September 12, 2008

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. After logging in, select the Connection: Windows Driver Kit (WDK), Windows Logo Kit (WLK) and Windows Driver Framework (WDF).
Announcement date: April 18, 2008    *    Notice Updated: September 12, 2008

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
Thu, 05 Mar 2009 21:48:14 GMT

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

Great WinHEC presentation on device interfaces compared to device clases
Wed, 04 Feb 2009 01: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]
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

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 Online


Top of pageTop of page