This topic lists the Kernel-Mode Driver Framework (KMDF) sample drivers that you can download from the Windows Dev Center - Hardware.
本主題列出您可以在Microsoft 範例入口網站上流覽和下載的 Kernel-Mode Driver Framework (KMDF) 範例驅動程式。 您也可以在 GitHub 上複製、分叉或下載Windows-driver-samples存放庫。 如需建置範例的詳細資訊,請參閱建置驅動程式。 ECHO 示範如何使用架構的佇列和要求物件和自動同步處理。
The kmdf_enumswitches sample demonstrates how to use Kernel-Mode Driver Framework (KMDF) as a bus driver using the OSR USB-FX2 device. This sample is written for theOSR USB-FX2 Learning Kit. Testing the Device To test the device, follow these steps: If you test signed your drive...
The SDV-FailDriver-KMDF sample driver contains intentional code errors that are designed to show the capabilities and features of Static Driver Verifier (SDV). SDV is a static verification tool that systematically analyzes the source code of Windows kernel-mode drivers. SDV is included in the Wind...
Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up {...
2.1 KMDF 对象 为了实现基于对象的技术,微软精心设计了对象模型并进行了封装,提供了属性、方法和事件。无论是内核模式的驱动程序还是用户模式的驱动程序,都采用同一套对象模型构建,采用同一个基础承载。2.1.1 对象概念 对象是KMDF 的基础,KMDF 框架中所有的事物都由对象来表示,如Driver 、Device 、Request...
The sample code snippets below illustrate how to implement this workaround: EvtDriverDeviceAdd( IN WDFDRIVER Driver, IN PWDFDEVICE_INIT DeviceInit ) { PWORKER_ITEM_CONTEXT context; WDF_OBJECT_ATTRIBUTES attributes; WDF_WORKITEM_CONFIG workitemConfig;...
The WDK provides several sample framework-based HID minidrivers, including the drivers in the\src\hid\hidusbfx2and\src\hid\vhidminisubdirectories. Starting in Windows 7, theMsHidKmdf.sysdriver is included as part of the operating system. If you want to provide a framework-based HID minidriver ...
The WDK provides several sample framework-based HID minidrivers, including the drivers in the\src\hid\hidusbfx2and\src\hid\vhidminisubdirectories. Starting in Windows 7, theMsHidKmdf.sysdriver is included as part of the operating system. If you want to provide a framework-based HID minidriver ...
The sample code snippets below illustrate how to implement this workaround: EvtDriverDeviceAdd( IN WDFDRIVER Driver, IN PWDFDEVICE_INIT DeviceInit ) { PWORKER_ITEM_CONTEXT context; WDF_OBJECT_ATTRIBUTES attributes; WDF_WORKITEM_CONFIG workitemConf...