Skip to content
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 desktop-only driver samples.
C C++ Objective-C HTML JavaScript C# Other
Branch: master
Clone or download
Latest commit 4726649 Dec 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TrEE Update README.md (#425) Sep 26, 2019
audio Updates on the SysVAD driver sample (#443) Dec 4, 2019
avstream Fix missing stdexcept header in sampledevicemft (#441) Nov 12, 2019
biometrics Update README.md (#429) Oct 1, 2019
bluetooth Update the Bluetooth Serial HCI Bus Driver sample to exemplify PLDR (#… Nov 12, 2019
filesys Fix changing and reading FAT labels with leading 0xE5 byte in fastfat… Sep 24, 2019
general Update README.md Dec 10, 2019
gnss Update README.md (#420) Sep 19, 2019
gpio/samples Update README.md (#420) Sep 19, 2019
hid Update README.md (#421) Sep 19, 2019
input Update README.md (#421) Sep 19, 2019
network Update README.md (#426) Sep 26, 2019
nfc/NfcCxSample Update README.md Aug 21, 2019
nfp/net Update README.md (#424) Sep 25, 2019
pofx Update README.md (#424) Sep 25, 2019
pos/drivers Update README.md (#424) Sep 25, 2019
print Update README.md (#426) Sep 26, 2019
sd/miniport/sdhc Update README.md (#424) Sep 25, 2019
security/elam Update README.md (#424) Sep 25, 2019
sensors Update readme.md Dec 11, 2019
serial Update README.md Oct 15, 2019
setup/devcon Update README.md (#425) Sep 26, 2019
simbatt Update README.md (#412) Sep 6, 2019
smartcrd Update README.md (#412) Sep 6, 2019
spb Making controller D3 timeout for screen on and Off HLK requirements c… Oct 22, 2019
storage Update README.md (#425) Sep 26, 2019
thermal Update README.md (#425) Sep 26, 2019
tools Update README.md (#427) Sep 30, 2019
usb Update README.md Oct 15, 2019
video Update README.md (#426) Sep 26, 2019
wia Update README.md (#412) Sep 6, 2019
wmi Update README.md (#426) Sep 26, 2019
wpd Update README.md (#427) Sep 30, 2019
.gitattributes Remove eol rules for INF and INX files from gitattributes Aug 18, 2015
.gitignore Ignore DB and opendb files. Jan 22, 2017
LICENSE Adding licensing file Mar 19, 2015
README.md Update README.md Dec 11, 2019
build-dir.cmd Allow space in folder name Oct 3, 2017

README.md

Driver samples for Windows 10

These are the official Microsoft Windows Driver Kit (WDK) driver code samples for Windows 10. 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 2019 and Windows Driver Kit (WDK) 10.

Windows Driver Kit documentation

Windows 10 driver development

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

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 10. 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 10 for desktop editions, as well as other Windows 10 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.

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

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 opencode@microsoft.com with any additional questions or comments.

You can’t perform that action at this time.