Starting in Windows 10, you can build your KMDF or UMDF driver binary so that it gets additional driver debugging information through the Inflight Trace Recorder. Windows Drivers can take advantage of this feature.
In addition, if you used the Visual Studio KMDF template, your driver uses Windows software trace preprocessor (WPP) to write trace messages. Your driver binary is an ETW provider with a provider GUID.
To send a trace message from your driver binary, use this code:
Megtanulhatja, hogyan háríthatja el hatékonyan a hibákat a .NET-alkalmazásban a Visual Studio segítségével a hibák gyors kijavítása érdekében. A Visual Studio interaktív hibakeresőjével elemezheti és kijavíthatja C#-alkalmazásait.