Target platforms

将目标平台设置为希望开发的驱动程序类型。 有关详细信息,请参阅使用 WDK 生成驱动程序

Here are the values for Target Platform, and what they mean:

Term Description
Universal Windows 驱动程序中的驱动程序二进制文件可以调用此设备驱动程序接口 (DDI)。 有关详细信息,请参阅 Windows 驱动程序开发入门
Desktop Windows 10 桌面版或 Windows Server 2016 的驱动程序二进制文件可以调用此 DDI。
Windows Driver A Windows Driver runs on the following Universal Windows Platform (UWP)-based editions of Windows:

Windows 11

Windows Server 2022

Windows Server 2019

Windows 10 桌面版(家庭版、专业版和企业版)

处于 S 模式的 Windows 10

Windows 10 IoT 核心版

Windows Server 2016

驱动程序参考页上的“目标平台”

In the Requirements block at the bottom of Microsoft driver reference documentation pages, you'll see an entry called Target Platform. 该行列出了页面将应用到的 Windows 版本。

以下是此类条目的示例:

目标平台在“要求”块中设置为“通用”。

Here are the values you might see for Target Platform, and what they mean:

Term Description
Universal 通用、桌面或 Windows 驱动程序中的驱动程序二进制文件可调用此设备驱动程序接口 (DDI)。 有关详细信息,请参阅 Windows 驱动程序开发入门使用通用 INF 文件
Desktop 桌面驱动程序的驱动程序二进制文件可以调用此 DDI。

These two values that can appear on documentation pages map to three values that you can use in Visual Studio, in the Target Platform property under Configuration Properties->Driver Settings->General. All three classifications, Universal, Desktop, or Windows Driver can use any DDI that specifies Universal as the Target Platform on the documentation page.

通用驱动程序可在以下基于通用 Windows 平台 (UWP) 的 Windows 版本上运行:

  • Windows 11
  • Windows Server 2022
  • Windows Server 2019
  • Windows 10 桌面版(家庭版、专业版和企业版)
  • 处于 S 模式的 Windows 10
  • Windows 10 IoT 核心版
  • Windows Server 2016