共用方式為


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 伺服器 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 通用 Windows 平台 (UWP) 為基礎的版本上執行:

  • Windows 11
  • Windows Server 2022
  • Windows Server 2019
  • Windows 10 傳統型版本 (家用版、專業版和企業版)
  • S 模式中的 Windows 10
  • Windows 10 IoT 核心版
  • Windows Server 2016