microsoft/windows-driver-samples

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 21 minutes ago
Added to GitGenius on September 8th, 2026
Created on March 6th, 2015
Open Issues & Pull Requests: 127 (+0)
GitHub issues: Enabled
Number of forks: 5,036
Total Stargazers: 7,841 (+0)
Total Subscribers: 571 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 538.0 days
Mean response time: 962.3 days
90th percentile: 2637.4 days
Tracked items: 429

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 0% of issues opened in the past year have been closed. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 44
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,011 days
Stale 30+ days: 37
Stale 90+ days: 35

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • stale (83)
  • question (31)
  • bug (24)
  • request (13)
  • help wanted (3)
  • enhancement (1)

Most active issues this week

Detailed Description

Windows Driver Samples is a collection of official code examples for Windows driver development using the Windows Driver Kit and Visual Studio.

The repository addresses the challenge of learning to write Windows drivers by providing working sample code that demonstrates best practices for both Universal Windows drivers and desktop-only drivers. The samples cover multiple hardware categories including camera, print, display, Near Field Communication, WLAN, and Bluetooth. Developers can use these examples as templates and reference implementations when building new drivers or porting existing ones to current Windows versions. The samples are designed to work with Visual Studio 2022 and the Windows Driver Kit, with the driver development environment integrated directly into Visual Studio.

Developers new to Windows driver development should use these samples as starting points, with the repository offering specific exercises for writing first drivers using both User-Mode Driver Framework and Kernel-Mode Driver Framework approaches. The samples are particularly valuable for those porting drivers from older Windows versions, as they demonstrate the current recommended patterns and APIs. The repository includes guidance on what changes must be made when moving from sample code to production drivers, acknowledging that the samples are intentionally simplified for educational purposes. Anyone building drivers for Windows 11 across different hardware form factors will find relevant examples here.

The project maintains active engagement with the developer community through GitHub Actions integration for driver builds and provides clear pathways to official Windows Driver Kit documentation. The repository follows Microsoft's open source code of conduct and includes structured exercises that allow developers to work through driver development concepts independently.