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
Latest commit ba5bfb1 Mar 21, 2017 @wm1 wm1 committed on GitHub Merge pull request #125 from girishpattabiraman/master
Ignore both 4049 and 4217 warning for SwapAPO.vcxproj.
The error text is the same: locally defined symbol __stdio_common_vswprintf imported from AudioBaseProcessingObjectV140.lib
Permalink
Failed to load latest commit information.
TrEE Temporarily removing this code for rearchitecture Mar 10, 2017
audio/sysvad Ignoring specific linker warnings for RS1 and RS2 Mar 21, 2017
avstream Merge pull request #118 from saredd/master Mar 21, 2017
biometrics Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
bluetooth Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
filesys Fix build failures Mar 21, 2017
general Fix build failures Mar 21, 2017
gpio/samples Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
hid Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
input Fix issue #109 No kbfiltr.inf file Mar 15, 2017
network Merge pull request #30 from AndrewGaspar/spelling Mar 21, 2017
nfc Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
nfp/net Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
pofx Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
pos/drivers Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
print Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
sd Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
security/elam Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
sensors Use lower case Mar 18, 2017
serial Fix NULL-ternimating device name when writing to DEVICEMAP/SERIALCOMM Nov 14, 2016
setup/devcon Fix an trailing \r\n issue Mar 21, 2017
simbatt Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
smartcrd Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
spb Use lower case Mar 18, 2017
storage Fix build failures Mar 21, 2017
thermal Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
tools/sdv/samples Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
usb Fix issue #122 - Try it again Mar 16, 2017
video Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
wia Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
wmi Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
wpd Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016
.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 Use HTTPS links Dec 24, 2016
build-dir.cmd Add a script to build all samples Mar 21, 2017

README.md

Driver samples for Windows 10

These are the official Microsoft Windows Driver Kit (WDK) team 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 2015 and Windows Driver Kit (WDK) 10.

Windows 10 driver development

Use Visual Studio 2015 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 10 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 both Windows 10 for desktop editions and Windows 10 Mobile devices, 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.