登录 注册

Windows-driver-samples

去点 Star
其他
7,916
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
C
语言
—
创建时间
最近更新

项目能做什么

适用于 Visual Studio 和 WDK 的 Windows 驱动程序官方示例库。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# 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](https://docs.microsoft.com/windows-hardware/drivers/)

## 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](https://developer.microsoft.com/windows/hardware/windows-driver-kit)

### 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](https://docs.microsoft.com/windows-hardware/drivers/what-s-new-in-driver-development)

### 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](https://docs.microsoft.com/windows-hardware/drivers/develop/getting-started-with-universal-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](https://docs.microsoft.com/windows-hardware/drivers/wdf/)

### 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](https://docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/from-sample-code-to-production-driver)

### 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](https://docs.microsoft.com/windows-hardware/drivers/gettingstarted/writing-a-umdf-driver-based-on-a-template)

[Write a KMDF Hello World driver](https://docs.microsoft.com/windows-hardware/drivers/gettingstarted/writing-a-very-small-kmdf--driver)

[Write a KMDF driver based on a template](https://docs.microsoft.com/windows-hardware/drivers/gettingstarted/writing-a-kmdf-driver-based-on-a-template)

[Use GitHub Actions to build a simple d
阅读完整原文

项目深度分析 AI 生成

特定领域虚拟驱动(Virtual Driver)授权与定制

产品构想基于仓库中的虚拟总线与网络/音频等示例驱动,研发高稳定性的通用虚拟驱动(如虚拟串口、虚拟网卡/TUN、虚拟声卡)并提供商业闭源授权与定制服务。
核心功能即开即用的虚拟硬件接口、跨 Windows 10/11 兼容性、抗蓝屏故障处理、静默安装支持与用户态通信封装。
目标用户工业自动化集成商、VoIP/直播软件开发商、网络代理/VPN 开发商。
难度/周期高 · 2 - 4 个月 · 成本:开发机与测试矩阵硬件购置成本、EV 代码签名证书与 Azure 开发者账户注册费用。
收费模式按软件席位商业授权买断、年度支持维保费、定制集成咨询费。
竞争风险内核级 Bug 容易导致系统崩溃(BSOD);微软 Driver Signing 强制策略变更风险。
依据 已验证事实

中小硬件厂商 WHQL 认证与驱动代提交流程服务

产品构想利用对官方驱动规范和 HLK(Hardware Lab Kit)的深入理解,为无专职驱动工程师的中小硬件厂商提供驱动移植、自动化测试跑测、EV 证书签名及微软 WHQL 认证一站式代办。
核心功能HLK 自动化测试套件搭建指导、驱动 INF 文件规范化修改、提交包错误排查、微软合作伙伴中心提交流程托管。
目标用户出海智能硬件团队、定制外设(如扫码枪、工控卡、专用打印机)厂商。
难度/周期中等 · 1 - 2 周/项目 · 成本:搭建 HLK 测试环境所需的物理机/虚拟机及网络交换设备成本。
收费模式按单次提测/认证成功收费的服务费模式。
竞争风险硬件厂商固件本身缺陷导致 HLK 测试频繁失败,项目交付周期拉长(推测)。
依据 数据支持的判断

Windows 驱动与内核安全实战培训课程

产品构想针对国内 WDF/KMDF 体系化优质中文教程匮乏的现状,拆解官方 sample,系统性讲解现代 Windows 驱动开发、WinDbg 调试技巧及反作弊/安全对抗机制,开展高阶培训。
核心功能KMDF/UMDF 架构剖析课程、WinDbg 崩溃分析实战演练、从 Sample 到商用驱动的改造避坑指南。
目标用户有转岗底层需求的 C/C++ 开发者、安全公司初级内核分析师、高校物联网相关专业学生。
难度/周期中等 · 1 - 2 个月 · 成本:课程录制时间与配套实验机房搭建成本。
收费模式知识付费专栏、小班实战训练营、企业定制内训采购。
竞争风险目标受众总体偏小众,拓客获客门槛较高。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
microsoft/graphics-driver-samples 中文介绍暂未生成
This repository contains graphics driver samples used to dem
415 C++
microsoft/Windows-rust-driver-samples 中文介绍暂未生成
Rust port of the official Windows Driver Samples on Github.
363 Rust
rustdesk-org/RustDeskIddDriver 中文介绍暂未生成
This IDD driver is based on official [Indirect Display Drive
105 C++
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 100 个 Release
社区活跃Star 7,916 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。