驱动程序开发中的新增功能What's new in driver development

本部分提供有关 Windows 10 中 Windows 驱动程序开发的新增功能和更新的信息。This section provides information about the new features and updates to Windows driver development in Windows 10.

Windows 10 版本 2004(最新版)的最近更新What's new in Windows 10, version 2004 (latest)

本部分介绍了 Windows 10 版本 2004(Windows 10 2020 年 5 月更新)中关于驱动程序开发的新功能和更新。This section describes new features and updates for driver development in Windows 10, version 2004 (Windows 10 May 2020 Update).

Windows 驱动程序Windows Drivers

Windows 10 版本 2004 是通用驱动程序的过渡版本。Windows 10, version 2004 is a transition release for universal drivers. 在此版本中,通用驱动程序仍存在,但正在被 Windows 驱动程序所取代。In this release, universal drivers still exist, but are being replaced by Windows Drivers. Windows 驱动程序是有一些额外要求的通用驱动程序。A Windows Driver is a universal driver with a few additional requirements.

Windows 驱动程序与 Windows 桌面驱动程序是不同的。Windows Drivers are distinguished from Windows Desktop Drivers. Windows 驱动程序在 Windows 10X 和 Windows 10 桌面版中运行,而 Windows 桌面驱动程序只在 Windows 10 桌面版中运行。While Windows Drivers run on Windows 10X and Windows 10 Desktop editions, Windows Desktop Drivers run only on Windows 10 Desktop editions.

对于版本 2004,无需对通用驱动程序进行任何更改,但文档现已发布,以便你能够提前为即将发生的更改做好计划。No changes are required to universal drivers for the version 2004 release, but documentation is available now so that you can plan ahead for upcoming changes.

若要了解如何生成、安装、部署和调试 Windows 驱动程序,请参阅 Windows 驱动程序入门For information about how to build, install, deploy, and debug a Windows Driver, see Getting Started with Windows Drivers.

Windows 硬件错误体系结构 (WHEA)Windows Hardware Error Architecture (WHEA)

WHEA 新增了一个接口 (v2)。WHEA includes a new interface (v2). 若要了解如何注册为错误源并报告错误,请参阅在 Windows 10 中使用 WHEAFor info about how to register as an error source and report errors, see Using WHEA on Windows 10.

显示驱动程序和图形驱动程序Display and Graphics Drivers

Windows 10 版本 2004 中提供了几个新的和增强的显示驱动程序和图形驱动程序功能,其中包括 D3D12 网格着色器支持、采样器支持、光线跟踪扩展、视频运动估计,以及视频的受保护资源支持。Several new and enhanced display and graphics driver features are available in Windows 10, version 2004, including D3D12 mesh shader support, sampler support, raytracing extensions, video motion estimation, and video protected resources support. 有关这些新功能的详细信息,请参阅 Windows 10 显示驱动程序和图形驱动程序的新增功能See What's New for Windows 10 Display and Graphics Drivers for more details about these new features.

存储驱动程序Storage Drivers

存储微型端口驱动程序现在可以获取和设置有关设备的内部状态的详细信息,包括重置设备的功能。A storage miniport driver can now get and set more information about a device's internal state, including the ability to reset a device. 请从参阅 IOCTL_STORAGE_GET_DEVICE_INTERNAL_LOGStorPortHardwareReset 开始了解相关信息。See IOCTL_STORAGE_GET_DEVICE_INTERNAL_LOG and StorPortHardwareReset as good starting points.

Windows 调试器Windows Debugger

WinDbg 预览版WinDbg Preview

WinDbg 预览版的更新包含新功能,例如 WinDbg 预览版 - 时间线Updates to WinDbg Preview to cover new features such as WinDbg Preview - Timelines. 可通过时间旅行时间线直观显示时间旅行代码执行跟踪。Time travel timelines allows for the visualization of time travel code execution traces.

停止代码Stop Codes

驱动程序安全性Driver Security

更新了驱动程序安全清单 以使用 BinSkim 工具。Updates to the Driver security checklist to use the BinSkim tool.

若要了解旧版 Windows 中关于驱动程序的最近更新,请参阅以下页面:For information on what was new for drivers in past Windows releases, see the following pages:

返回页首Back to Top

已弃用的功能Deprecated features

下表描述了 Windows 10 中已删除的 Windows 驱动程序开发功能。The following table describes Windows driver development features that have been removed in Windows 10.

驱动程序技术Driver technology 功能Feature 弃用该功能的版本Deprecated in
GNSS/定位GNSS/Location Windows 8.1 的地理位置驱动程序示例和相关文档Geolocation driver sample for Windows 8.1 and related documentation Windows 10 版本 1709Windows 10, version 1709
移动运营商方案(网络)Mobile Operator Scenarios (Networking) AllowStandardUserPinUnlockAllowStandardUserPinUnlock Windows 10 版本 1709Windows 10, version 1709
扫描/成像Scan/Image WSD(设备 Web 服务)质询器功能和相关文档WSD (Web Services for Devices) Challenger functionality and related documentation Windows 10 版本 1709Windows 10, version 1709
移动运营商Mobile Operators 由于 MO UWP APPS 和 COSA 的推出,包含 Sysdev 元数据包的移动宽带应用体验已弃用。Mobile broadband app experience apps with Sysdev metadata packages are deprecated in favor of MO UWP APPS and COSA. Windows 10 版本 1803Windows 10, version 1803