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.
Перейти к файлу
JakobL-MSFT 66f7736077
Upgrade nuget SDK and WDK packages to 26100.1591 (#1217)
* Upgrade NuGet to 10.0.26100.1591
2024-09-18 20:30:02 -07:00
.github Upgrade nuget SDK and WDK packages to 26100.1591 (#1217) 2024-09-18 20:30:02 -07:00
TrEE Remove x86 and ARM configurations for sample projects. (#1126) 2024-02-26 09:47:25 -08:00
audio Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
avstream Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
bluetooth Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
filesys Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
general Copy general\ioctl\wdm\exe to general\ioctl\kmdf\exe 2024-09-03 16:23:42 -07:00
gnss Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
gpio/samples Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
hid Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
input Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
network Merge pull request #1196 from taj0207/main 2024-07-08 10:52:12 -07:00
nfc/NfcCxSample Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
nfp/net Remove x86 and ARM configurations for sample projects. (#1126) 2024-02-26 09:47:25 -08:00
pofx Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
pos/drivers Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
powerlimit 50256705 2024-05-27 08:07:49 -07:00
print
prm Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
sd/miniport/sdhc Fix for sdhc sample using bootflags as a registry (#1207) 2024-08-20 14:41:03 -07:00
security/elam Remove x86 and ARM configurations for sample projects. (#1126) 2024-02-26 09:47:25 -08:00
sensors Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
serial [serial/VirtualSerial2] Fix issue #1202 2024-08-16 09:57:07 -07:00
setup/devcon Remove x86 and ARM configurations for sample projects. (#1126) 2024-02-26 09:47:25 -08:00
simbatt Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
smartcrd Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
spb Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
storage Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
thermal Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
tools Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
usb Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
video Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
wia Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
wil@3c00e7f1d8
wmi Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
.gitattributes Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
.gitignore
.gitmodules
Build-AllSamples.ps1 Do not build solutions in the .\packages folder 2024-02-06 22:01:30 -08:00
Build-Sample.ps1 Build System: Catch Sporadic Failures (#1123) 2024-02-20 23:41:46 -08:00
Build-SampleSet.ps1 RI develop to main (#1189) 2024-06-28 09:56:29 -07:00
Building-Locally.md RI develop to main (#1189) 2024-06-28 09:56:29 -07:00
Directory.Build.props Upgrade nuget SDK and WDK packages to 26100.1591 (#1217) 2024-09-18 20:30:02 -07:00
LICENSE
README.md
SECURITY.md
configuration.dsc.yaml Fix text and minor issues in Winget configuration files 2024-06-07 13:22:11 -07:00
configuration_vsonly.dsc.yaml Fix text and minor issues in Winget configuration files 2024-06-07 13:22:11 -07:00
exclusions.csv Add exclusion for network\trans\WFPSampler incompatible with previous EWDK; fix descriptions in list 2024-04-11 13:50:43 -07:00
packages.config Upgrade nuget SDK and WDK packages to 26100.1591 (#1217) 2024-09-18 20:30:02 -07:00

README.md

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