Windows Driver Frameworks

Windows Driver Frameworks (WDF)
Other namesWindows Driver Foundation
Developer(s)Microsoft
Stable release
win-10.0.17763.1 / 24 March 2019; 5 years ago (2019-03-24)
Repository
Operating systemMicrosoft Windows
TypeDevelopment tool, application programming interface
LicenseMIT License[1]
Websitelearn.microsoft.com/en-us/windows-hardware/drivers/wdf/ Edit this on Wikidata

Windows Driver Frameworks (WDF, formerly Windows Driver Foundation), is a set of Microsoft tools and libraries that aid in the creation of device drivers for Windows 2000 and later versions of Windows. It complements Windows Driver Model, abstracting away much of the boilerplate complexity in writing Windows drivers.

WDF consists of Kernel-Mode Driver Framework (KMDF) and User-Mode Driver Framework (UMDF).[2] These individual frameworks provide a new object-oriented programming model for Windows driver development. The primary goals of WDF is conceptual scalability and reduced duplication, enabling developers to apply the same concepts across different driver types and reducing the code overhead required for drivers. This differs markedly from the Windows Driver Model (WDM) which requires driver developers to be fully familiar with many complex technical details to write a basic driver.

Part of the key to achieving conceptual scalability is that KMDF and UMDF use an "opt-in" model. This model allows the developer to extend and override the default behavior of a canonical "good driver". In contrast, Windows Driver Model depends on the driver writer to implement all aspects of the driver's behavior.

  1. ^ "Windows Driver Frameworks". GitHub. Microsoft. Retrieved 2017-02-15.
  2. ^ Kernel Mode Driver Framework for Windows 7 Drivers