Software:User-Mode Driver Framework

From HandWiki
Short description: Driver development platform for Microsoft Windows
User-Mode Driver Framework (UMDF)
Developer(s)Microsoft
Initial releaseOctober 12, 2004; 21 years ago (2004-10-12)
Stable release
2.27 / March 24, 2019; 7 years ago (2019-03-24)
Repositorygithub.com/microsoft/Windows-Driver-Frameworks
Written inC, C++
Operating systemMicrosoft Windows
TypeDevice-driver development platform
LicenseMIT License
Websitedocs.microsoft.com/en-us/windows-hardware/drivers/wdf/overview-of-the-umdf

User-Mode Driver Framework (UMDF) is a device-driver development platform first introduced with Microsoft's Windows Vista operating system, and is also available for Windows XP. It facilitates the creation of drivers for certain classes of devices.[1]

Overview

Standard device drivers can be difficult to write because they must handle a very wide range of system and device states, particularly in a multithreaded software environment. Badly written device drivers can cause severe damage to a system (e.g., BSoD or data corruption) since all standard drivers have high privileges when accessing the kernel directly. The User-Mode Driver Framework insulates the kernel from the problems of direct driver access, instead providing a new class of driver with a dedicated application programming interface at the user level of interrupts and memory management. If an error occurs, the new framework allows for an immediate driver restart without impacting the system. This is particularly useful for devices that are intermittently connected to the system or support