Windows Driver Foundation Crash
Other names | Windows Driver Foundation |
---|---|
Developer(s) | Microsoft |
Stable release | |
Repository | |
Operating system | Microsoft Windows |
Type | Development tool, application programming interface |
License | MIT License[1] |
Website | docs.microsoft.com/en-us/windows-hardware/drivers/wdf/index |
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.
This keeps happing to me and is really getting on my nerves. I would be playing a game or searching the web and my screen starts flashing then black screens and disconnects and comes back saying 'Display driver NVIDIA windows kernel mode driver stopped responding and successfully recovered. WPF applications that use layered windows crash when you perform one of the following actions: You put a computer that uses the Windows XP Display Driver Model (XPDDM) into standby, and then you resume the computer from standby. You switch to the full-screen console mode on Windows XP. If you find that many a time some process in your Windows computer hogs 100% of CPU resources, Process Tamer is a freeware tool that will help you manage high or 100% CPU utilization in Windows. 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.
WDF consists of Kernel-Mode Driver Framework (KMDF) and User-Mode Driver Framework (UMDF). 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.
Varieties[edit]
There are three types of WDF drivers:
- Kernel-Mode Driver Framework, for writing standard kernel-mode device drivers
- User-Mode Driver Framework v1, for writing user-mode drivers using a C++ COM-based API
- User-Mode Driver Framework v2, for writing user-mode drivers with syntactic parity to KMDF
WDF also includes a set of static verification tools for use by driver writers. These tools examine driver code for common errors and/or simulate the code of a driver in order to identify problems that are both difficult to detect and difficult to test for.
Versions[edit]
Operating system | KMDF 1.0 | KMDF 1.1 | KMDF 1.5 | KMDF 1.7 | KMDF 1.9 | KMDF 1.11 | KMDF 1.13 | KMDF 1.15 | KMDF 1.17 | KMDF 1.19 | KMDF 1.21 | KMDF 1.23 | KMDF 1.25 | KMDF 1.27 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows 10 1809 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes |
Windows 10 1803 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | - |
Windows 10 1709 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | - | - |
Windows 10 1703 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | - | - | - |
Windows 10 1607 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | - | - | - | - |
Windows 10 1511 | yes | yes | yes | yes | yes | yes | yes | yes | yes | - | - | - | - | - |
Windows 10 1507 | yes | yes | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - |
Windows 8.1 | yes | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - | - |
Windows 8 | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows 7 | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows Server 2008 | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows Vista | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows Server 2003 | yes | yes | yes | yes | yes | - | - | - | - | - | - | - | - | - |
Windows XP | yes | yes | yes | yes | yes | - | - | - | - | - | - | - | - | - |
Windows 2000 | - | yes | yes | yes | - | - | - | - | - | - | - | - | - | - |
Operating system | UMDF 1.5 | UMDF 1.7 | UMDF 1.9 | UMDF 1.11 | UMDF 2.0 | UMDF 2.15 | UMDF 2.17 | UMDF 2.19 | UMDF 2.21 | UMDF 2.23 | UMDF 2.25 | UMDF 2.27 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows 10 1809 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes |
Windows 10 1803 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | - |
Windows 10 1709 | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | - | - |
Windows 10 1703 | yes | yes | yes | yes | yes | yes | yes | yes | yes | - | - | - |
Windows 10 1607 | yes | yes | yes | yes | yes | yes | yes | yes | - | - | - | - |
Windows 10 1511 | yes | yes | yes | yes | yes | yes | yes | - | - | - | - | - |
Windows 10 1507 | yes | yes | yes | yes | yes | yes | - | - | - | - | - | - |
Windows 8.1 | yes | yes | yes | yes | yes | - | - | - | - | - | - | - |
Windows 8 | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows 7 | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows Server 2008 | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows Vista | yes | yes | yes | yes | - | - | - | - | - | - | - | - |
Windows Server 2003 | yes | yes | yes | - | - | - | - | - | - | - | - | - |
Windows XP | yes | yes | yes | - | - | - | - | - | - | - | - | - |
Windows 2000 | - | yes | yes | - | - | - | - | - | - | - | - | - |
Bold 'Yes' means introduced with this version of Windows.
See also[edit]
References[edit]
- ^'Windows Driver Frameworks'. GitHub. Microsoft. Retrieved 15 February 2017.
- ^'KMDF Version History'. Microsoft. 1 October 2018.
- ^'UMDF Version History'. Microsoft. 1 October 2018.
External links[edit]
- Official website
- Developing Drivers with the Windows Driver Foundation by Orwick and Smith
- OSR Online, including many articles about WDF, KMDF, and Windows driver development
- Introducing Windows Driver Framework at the Wayback Machine (archived 2016-01-25), written by well-known Windows driver developer, Walter Oney
- Building and deploying a basic WDF Kernel Mode Driver, CodeProject
- Developing a WDF USB Kernel Mode Driver for the OSR USB FX2, CodeProject
Computers crash and freeze. Your Windows PC may have automatically rebooted itself, too. If so, it probably experienced a blue screen of death when you weren’t looking. The first step in troubleshooting is finding more specific error details.
RELATED:What to Do When Windows Won’t Boot
The steps we’re going to cover should help you narrow down and identify problems with your PC crashing or freezing. For example, the tools here may point the finger at a specific device driver. This could mean that the device driver itself is buggy, or that the underlying hardware is failing. Either way, it will give you a place to start searching. However, the steps we’re covering in this article are intended for diagnosing a PC where you can at least get Windows to start. If Windows—or your PC itself—wont start, check out our guidance on what to do when Windows won’t boot, instead.
Check the Reliability Monitor
RELATED:Reliability Monitor is the Best Windows Troubleshooting Tool You Aren’t Using
The Windows Reliability Monitor offers a quick, user-friendly interface that displays recent system and application crashes. It was added in Windows Vista, so it will be present on all modern versions of Windows.
This free online JPG to PDF converter allows to combine multiple images into a single PDF document. Besides JPG/JPEG, this tool supports conversion of PNG, BMP, GIF, and TIFF images. Our free PDF to JPG online converter is the simplest way to convert PDF to JPG. Nothing to download and to install, the whole process takes place online. Nothing to download and to install, the whole process takes place online. Jpg to pdf converter online.
To open it, just hit Start, type “reliability,” and then click the “View reliability history” shortcut.
The Reliability Monitor window is arranged by dates with columns at the right representing the most recent days. You can see a history of events for the last few weeks, or you can switch to a weekly view. The column for each day shows events recorded for that day.
If Windows crashed or froze, you’ll see a red circle with an “X” representing the failure. Click that day’s column and you’ll see more information at the bottom. Critical events are typically what you’re really looking for here, but the other information can be useful as well. For example, the history will show when you installed software, so you might be able to see whether crashes started occuring after the installation of a particular app.
If you see an interesting event listed, double-click it to open a details window with more information. Here, we can see that Windows had trouble starting due to trouble with a hard disk.
You can use the “Check for solutions to all problems” link at the bottom of the window for some help. However, in our experience, this feature isn’t very helpful and rarely finds actual solutions. In a best case scenario, it might advise you to install updated hardware drivers.
Really, the Reliability Monitor is more useful for giving you an idea of when crashes or other major events happened, seeing other events that surrounded those crashes, and getting a start on narrowing down possible causes.
RELATED:Using Event Viewer to Troubleshoot Problems
And in case you’re wondering, the Reliability Monitor pulls its data from the same event logs that the venerable Event Viewer uses. So, if you’re more comfortable using Event Viewer, you can get all the same information.
View Blue Screen Crash Dump Details
RELATED:Everything You Need To Know About the Blue Screen of Death
When Windows encounters a blue screen error, it dumps the memory files to a local file that sometimes contains useful information for troubleshooting those errors.
For a user-friendly way of examining these, we recommend NirSoft’s free BlueScreenView utility. This tool displays a list of saved dump files. You can click any dump file to see the information it contains. In particular, the message in the “Bug Check String” and “Bug Check Code” columns are useful. These show the same message that’s displayed on your screen when the blue screen itself appears. Search for the message or code online and you’ll often find information that can help you identify and solve your actual problem.
The list of drivers at the bottom of the window may also be helpful. For example, the blue-screens may consistently implicate a particular driver file, such as your graphics hardware driver. This may indicate there’s a problem with that specific driver. Or, that specific driver may be crashing because the underlying hardware itself is damaged. Either way, it can help point you in a more specific direction.
But Why Is it Crashing?
The above tools can help you get more of a handle on your problem. With a specific crash message from the blue screen in hand, you can at least perform a web search to discover what might be going on. It’s a much better starting point than looking for generic information about why a computer crashes or freezes.
If your computer just crashed or froze once, don’t sweat it. Nothing is completely perfect—a bug in Windows or a hardware driver could have caused the crash, and you may never see it again. If your computer is crashing regularly and consistently, it’s time to roll up your sleeves and start figuring out the problem.
RELATED:10+ Useful System Tools Hidden in Windows
Windows Driver Foundation Service Missing
The Memory Diagnostics tool built into Windows can also help. It tests your memory to ensure everything is working properly. If your memory is damaged, this can cause system instability and blue-screens.
Ultimately, it’s impossible to give advice that will solve every problem. The tools can will help you narrow down your problem to a more specific error message or hardware driver, giving you a starting point for troubleshooting. But not every problem can be fixed with some troubleshooting steps. Your computer may have a hardware problem and there may be nothing you can do about it beyond replacing or fixing the hardware itself. As Windows becomes more stable, regular system freezes and blue-screens often point to underlying hardware problems.
READ NEXTWindows Crash Log
- › Wi-Fi vs. ZigBee and Z-Wave: Which Is Better?
- › What Does “FWIW” Mean, and How Do You Use It?
- › How to Automatically Delete Your YouTube History
- › What Is “Mixed Content,” and Why Is Chrome Blocking It?
- › How to Manage Multiple Mailboxes in Outlook