Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

Windows-driver-samples

> 编程语言
Open source

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and

7.8K stars0 likes0 views
WebsiteGitHub

About

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and

Driver samples for Windows 11

These are the official Microsoft Windows Driver Kit (WDK) driver code samples for Windows 11. They provide a foundation for Universal Windows driver support of all hardware form factors, from phones to desktop PCs. Use these samples with Visual Studio 2022 and Windows Driver Kit (WDK) 11.

Windows Driver Kit documentation

Windows 11 driver development

Use Visual Studio 2022 and Windows Driver Kit (WDK) 11 to build, test, and deploy your drivers. With Windows 11, the driver development environment is integrated into Visual Studio. To get started, download the driver development kits and tools for Windows 11.

Download the WDK, WinDbg, and associated tools

Windows Driver Kit (WDK)

Take a look at the compilation of the new and changed driver-related content for Windows 11. Areas of improvement include camera, print, display, Near Field Communication (NFC), WLAN, Bluetooth, and more.

Find out what's new in the WDK

Universal Windows drivers

Write one driver that runs on Windows 11 for desktop editions, as well as other Windows editions that share a common set of interfaces.

Getting Started with Universal Windows drivers

Windows Driver Frameworks

The Windows Driver Frameworks (WDF) are a set of libraries that make it simple to write high-quality device drivers.

WDF driver development guide

Samples

Use the samples in this repo to guide your Windows driver development. Whether you're just getting started or porting an older driver to the newest version of Windows, code samples are valuable guides on how to write drivers.

For information about important changes that need to be made to the WDK sample drivers before releasing device drivers based on the sample code, see the following topic:

From Sample Code to Production Driver - What to Change in the Samples

Build your first driver

If you're writing your first driver, use these exercises to get started. Each exercise is independent of the others, so you can do them in any order.

Write a UMDF driver based on a template

Write a KMDF Hello World driver

Write a KMDF driver based on a template

Use GitHub Actions to build a simple driver project

Microsoft Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Issues· 129 open

View all issuesOpen on GitHub
  • #1391

    [Windows-driver-samples/tree/main/network/ndis/mux]: driver not working well alongside Hyper-V

    Updated Sep 28, 2026
  • #1401

    [QUESTION]: USB View providing information about a USB is used for wireless devices

    Updated Sep 27, 2026
  • #1424

    [path/to/sample]:

    Updated Sep 24, 2026
  • #1412

    [gpio/samples/simgpio]: Gpio sample uninstall break when driver verifier on

    Updated Sep 23, 2026
  • #1423

    [path/to/sample]:

    Updated Sep 19, 2026
  • #1375

    [/serial/serial/VirtualSerial2]: Potential memory leak?

    Updated Sep 16, 2026
  • #1370

    android_winusb.inf

    Updated Sep 16, 2026
  • #1387

    [FILESYS\UDFS] Regarding the UDFS driver used by Windows 11

    Updated Sep 9, 2026
  • #1371

    [filesys/miniFilter/avscan]: app maybe bypass scans via file mapping and subsequent memory writes.

    requestUpdated Aug 25, 2026
  • #1400

    [indirect display driver (IDD)] Question: dynamic resolution support and selection at runtime

    Updated Aug 17, 2026

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言