This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Kernel-Mode Driver Framework" – news ·newspapers ·books ·scholar ·JSTOR(March 2014) (Learn how and when to remove this message) |
| Kernel-Mode Driver Framework (KMDF) | |
|---|---|
| Developer | Microsoft |
| Stable release | 1.33 / November 10, 2022; 3 years ago (2022-11-10) |
| Repository | github |
| Written in | C,C++ |
| Operating system | Microsoft Windows |
| Type | Device-driver development platform |
| License | MIT License |
| Website | docs |
TheKernel-Mode Driver Framework (KMDF) is a driver framework developed by Microsoft as a tool to aid driver developers create and maintainkernel mode device drivers forWindows 2000[a] and later releases. It is one of the frameworks included in theWindows Driver Frameworks.[1]
In general, KMDF supports drivers that were written for theWindows Driver Model, and it runs on WDM. WDM is the driver model used since the advent of Windows 98, whereas KMDF is the driver framework Microsoft advocates and uses for Windows 2000 and beyond.
In general, since more features likepower management andplug and play are handled by the KMDF framework, a KMDF driver is less complicated and has less code than an equivalent WDM driver.
KMDF is object-based and built on top of WDM. It provides an object-based perspective to WDM, following the architectural mandate of its superset, WDF. The functionality is contained in different types of objects. KMDF implementation consists of: