關於 Windows Vista 的平臺更新

Windows Vista 平臺更新和 Windows Server 2008 平臺更新是使用者作業系統更新,可支援在舊版 Windows 作業系統上使用選取的 Windows 7 技術。 更新包含一組執行時間程式庫,可讓應用程式開發人員以目前版本、Windows 7 和 Windows Server 2008 R2 以及舊版、Windows Vista 和 Windows Server 2008 為目標。

依技術支援的 API 摘要

Windows Vista 平臺更新和 Windows Server 2008 平臺更新支援的每個技術都包含一組 API,可用於以舊版 Windows 為目標的應用程式。

如需在以舊版 Windows 為目標之應用程式中使用更新所支援之 API 的詳細資訊,請參閱 開發舊版 Windows 的應用程式

注意

某些與技術相關聯的 API 可能不受支援,某些支援的 API 的行為、效能或需求可能會因 Windows 版本而異。 如需特定技術所支援 API 的詳細資訊,請按一下其中一個摘要資料表中的連結,移至該技術的相關章節。

 

Windows Vista 平臺更新支援的技術

如需特定技術所支援 API 的詳細資訊,請按一下其中一個摘要資料表中的連結,移至該技術的相關章節。

下表顯示 Windows Vista 和 Windows XP 與 Windows Vista 平臺更新所支援的技術。

技術 Windows Vista Windows XP
Windows 自動化 API Yes Yes
Windows 圖形、映射處理和 XPS 程式庫 No
Windows 功能區和動畫管理員程式庫 No
Windows 可攜式裝置平臺 No

 

Windows Server 2008 平臺更新支援的技術

如需特定技術所支援 API 的詳細資訊,請按一下其中一個摘要資料表中的連結,移至該技術的相關章節。

下表顯示 Windows Server 2008 和 Windows Server 2003 平臺更新支援 Windows Server 2008 的技術。

技術 Windows Server 2008 Windows Server 2003
Windows 自動化 API Yes Yes
Windows 圖形、映射處理和 XPS 程式庫 No
Windows 功能區和動畫管理員程式庫 No
Windows 可攜式裝置平臺 No No

 

依技術支援 API 的描述

如需特定技術所支援 API 的詳細資訊,請按一下其中一個摘要資料表中的連結,移至該技術的相關章節。

Windows 自動化 API

Windows 自動化 API 3.0 是一組 DLL 和 API 元素,可讓輔助技術 (AT) 產品,為具有實體或認知困難、障礙或身心障礙的個人提供更好的電腦存取權。 此外,由於 Windows 自動化 API 3.0 可讓應用程式存取及操作使用者介面, (UI) 其他應用程式的元素,因此這是實作自動化測試控管的理想技術。

Microsoft Active Accessibility (MSAA) 和消費者介面自動化很類似,這兩者都提供公開和收集使用者介面元素和控制項的相關資訊,以支援使用者介面協助工具和軟體測試自動化。 消費者介面自動化是消費者介面自動化規格的 Windows 實作。 這是較新的技術,可解決 MSAA 的許多限制。

如需 Windows 自動化 API 3.0 的詳細資訊,請參閱 Windows 自動化 API:概觀

適用于 Windows Vista 的平臺更新和適用于 Windows Server 2008 的平臺更新支援下列 Windows 自動化 API 3.0:

Windows 版本符合更新資格

Windows Vista 平臺更新和 Windows Server 2008 平臺更新可針對下表所示的 Windows 版本啟用 Windows 自動化 API 3.0 支援。

Windows 版本 符合更新資格的版本
Windows Vista
SP2 入門 (x86)
使用 SP2 (x86 和 amd64) 的首頁基本概念
具有 SP2 (x86 和 amd64) 的家用進階版
SP2 (x86 和 amd64)
具有 SP2 (x86 和 amd64) 的企業
SP2 (x86 和 amd64)
Windows XP
Windows XP Home with SP3 (x86)
Windows XP Professional with SP3 (x86)
Windows Server 2008
Windows Server 2008 SP2 (x86 和 amd64)
Windows Server 2003
Windows Server 2003 SP2 (x86 和 amd64)

 

Microsoft Active Accessibility (MSAA)

Microsoft Active Accessibility (MSAA) 是 Windows 95 首次引進的舊版技術。 這是一組 API,可改善輔助技術 (AT) 產品在 Microsoft Windows 上執行的應用程式的方式。 API 提供程式設計介面和方法,以公開使用者介面專案的相關資訊。

如需 Microsoft Active Accessibility 的詳細資訊,請參閱 技術概觀

支援的 Microsoft Active Accessibility API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

UI 自動化

消費者介面自動化是一種較新的技術,可實作消費者介面自動化規格,並解決 Microsoft Active Accessibility 的許多限制。 它是一組 API,可提供應用程式使用者介面元素的程式設計存取。 提供的 API 可協助輔助技術產品和自動化測試控管存取、識別及操作應用程式的標準和自訂 UI 元素。

如需消費者介面自動化的詳細資訊,請參閱Windows 自動化 API:消費者介面自動化

支援的 消費者介面自動化 API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

在舊版 Windows 上執行消費者介面自動化

由於在不同 Windows 版本上實作通用控制項和 Windows 標準控制項的方式差異,因此消費者介面自動化 Proxy 從一個版本擷取這些控制項的資訊可能會有些許差異。

Windows 圖形、映射處理和 XPS 程式庫

適用于 Windows Vista 的平臺更新支援下列 Windows 圖形、映射處理和 XPS 程式庫的 Windows 7 API:

Windows 版本符合更新資格

Windows Vista 平臺更新和 Windows Server 2008 平臺更新可針對下表所示的 Windows 版本啟用 Windows 圖形、映射處理和 XPS 程式庫支援。

Windows 版本 符合更新資格的版本
Windows Vista
SP2 入門 (x86)
使用 SP2 (x86 和 amd64) 的首頁基本概念
具有 SP2 (x86 和 amd64) 的家用進階版
SP2 (x86 和 amd64)
具有 SP2 (x86 和 amd64) 的企業
SP2 (x86 和 amd64)
Windows Server 2008
Windows Server 2008 SP2 (x86 和 amd64)

 

Direct2D

Direct2D API 是新的硬體加速、即時模式 2D 圖形 API,可為 2D 幾何、點陣圖和文字提供高效能和高品質轉譯。 Direct2D API 的設計目的是要與使用 GDI、GDI+或 Direct3D 的現有程式碼互通。

如需 Direct2D 的詳細資訊,請參閱 關於 Direct2D

支援的 Direct2D API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

在舊版 Windows 上執行 Direct2D

如果 Windows Vista 上遺漏 WDDM 1.1 驅動程式,Direct2D/GDI 互通性的效能會降低。

Direct3D

Windows Vista 平臺更新提供 Direct3D10 和 Direct3D10.1 程式碼路徑的 BGRA 介面支援。 Direct3D10Level9 可讓 Direct3D10 功能在 Direct3D9 硬體上運作。 Direct3D WARP10 是 Direct3D10 應用程式的高效能軟體點陣化程式。 Direct3D11 是最新版的 Direct3D,提供新功能,例如改良的多執行緒支援、鑲嵌、DirectCompute 功能和動態著色器連結。

如果您建立使用 Direct3D 的應用程式,則需要 DirectX SDK (https://msdn.microsoft.com/directx/aa937788.aspx) 。

如需 Direct3D 的詳細資訊,請參閱 Direct3D (https://msdn.microsoft.com/directx/default.aspx) 。

支援的 Direct3D API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

DirectWrite

DirectWrite API 是新的文字 API,可提供多層功能,包括文字配置、腳本處理、圖像轉譯和字型系統。 DirectWrite使用 OpenType 字型和子圖元 ClearType 轉譯來增強應用程式所提供的文字體驗。 與 Direct2D 搭配使用時,文字轉譯會以硬體加速。

如需DirectWrite的詳細資訊,請參閱DirectWrite簡介

支援的 DirectWrite API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

在舊版 Windows 上執行DirectWrite

下列行為問題可能會影響在舊版 Windows 上使用 DirectWrite API:

  • Windows 7 的腳本可能無法在舊版 Windows 上完全正確呈現。
  • 舊版 Windows 中無法使用的地區設定會回復為預設行為。
  • 在舊版 Windows 上無法使用 ClearType Tuner。
  • 在舊版 Windows 的某些案例中,GDI 互通性的記憶體成本較高。

包裝

Windows Vista 平臺更新支援封裝 API 的有限子集,這些 API 需要在非受控應用程式中使用 XPS 檔 API 執行工作。

如需封裝 API 的詳細資訊,請參閱 封裝 API 概觀

支援的封裝 API 元素

僅支援下列封裝介面:

  • IOpcUri
  • IOpcPartUri
  • ) 僅支援下列方法的 IOpcFactory (
    • CreatePackageRootUri
    • CreatePartUri
    • CreateStreamOnFile

支援的封裝 API 可用來透過檔案建立串流,以及建立和與封裝型 URI 互動。

在舊版 Windows 上執行封裝 API

支援封裝介面和方法的行為和效能在所有支援的平臺上都相同。

如果應用程式嘗試具現化或呼叫不支援的封裝介面或方法,嘗試將會失敗。 如果呼叫是不支援的 IOpcFactory 方法,則會傳回E_NOTIMPL錯誤碼。

Windows Imaging Component

Windows 映像處理元件 (WIC) 的新功能包括增強的安全性、高色彩的支援,以及更好的中繼資料互通性。 此外,Windows 映像元件也支援漸進式影像解碼、擴充的 PNG 功能、GIF 中繼資料、、HD 相片更新,以及跨越 APPn 區段的中繼資料,來擴大其標準合規性。

如需 Windows 映像處理元件的詳細資訊,請參閱 Windows 映像元件概觀

支援的 WIC API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

XPS 檔

XPS 檔 API 支援在非受控應用程式中建立、修改及儲存 XPS 檔

如需 XPS 檔 API 的詳細資訊,請參閱 XPS 檔程式設計手冊。

支援的 XPS 檔 API 元素

下層作業系統版本不支援 XPS 數位簽章 介面。

XPS 列印

XPS 列印 API 支援從 Windows 應用程式列印 XPS 檔。

如需 XPS 列印 API 的詳細資訊,請參閱 XpsPrint API

支援的 XPS 列印 API 元素

舊版 Windows 支援所有 API,這些 Windows 版本符合適用于 Windows Vista 的平臺更新或 Windows Server 2008 平臺更新的資格。

Windows 功能區和動畫管理員程式庫

適用于 Windows Vista 的平臺更新支援 Windows 功能區和動畫程式庫中的下列 Windows 7 API:

Windows 版本符合更新資格

Windows Vista 平臺更新和 Windows Server 2008 平臺更新可針對下表所示的 Windows 版本啟用 Windows 功能區和動畫管理員程式庫支援。

Windows 版本 符合更新資格的版本
Windows Vista
SP2 入門 (x86)
使用 SP2 (x86 和 amd64) 的首頁基本概念
具有 SP2 (x86 和 amd64) 的家用進階版
SP2 (x86 和 amd64)
具有 SP2 (x86 和 amd64) 的企業
SP2 (x86 和 amd64)
Windows Server 2008
Windows Server 2008 SP2 (x86 和 amd64)

 

Windows 功能區架構

Windows 功能區 (功能區) 架構是豐富的命令呈現系統,可提供傳統 Windows 應用程式階層式功能表、工具列和工作窗格的新式替代方案。

架構是 Microsoft WIN32 API 的集合,可為 Windows 開發人員提供許多新的使用者介面功能,並同時包含功能區和操作功能表系統。

如需功能區架構的詳細資訊,請參閱 Windows 功能區架構簡介

支援的功能區架構 API 元素

舊版 Windows 支援所有 API,這些版本符合適用于 Windows Vista 的平臺更新或適用于 Windows Server 2008 的平臺更新。

Windows 動畫管理員

Windows 動畫管理員 (Windows 動畫) 是支援 Windows 應用程式視覺元素動畫的程式設計介面。 Windows 動畫的設計目的是簡化動畫序列的開發和維護,並讓開發人員實作一致且直覺的動畫。 Windows 動畫可以搭配任何圖形平台使用,包括 Direct2D、Direct3D 或 GDI+。

Windows 動畫是單一執行緒 COM API,可提供開發人員建立、管理及驅動 UI 動畫所需的所有專案。

如需 Windows 動畫管理員的詳細資訊,請參閱 Windows 動畫簡介

支援的動畫管理員 API 元素

舊版 Windows 支援所有 API,這些版本符合適用于 Windows Vista 的平臺更新或適用于 Windows Server 2008 的平臺更新。

Windows 可攜式裝置平臺

Windows Vista 平臺更新支援 Windows 可攜式裝置的 Windows 7 擴充功能, (WPD) 平臺。 此功能可讓電腦與連結的媒體和存放裝置通訊。 WPD 提供彈性且健全的方式,讓電腦能夠與數位相機、音樂播放程式、行動電話和許多其他類型的連線裝置通訊。

如需 Windows 可攜式裝置的詳細資訊,請參閱 Windows 可攜式裝置

符合更新資格的 Windows 版本

Windows Vista 平臺更新和適用于 Windows Server 2008 的平臺更新可讓 Windows 可攜式裝置 (WPD) 支援下表所示的 Windows 版本。

Windows 版本 符合更新資格的版本
Windows Vista
SP2 (x86) 入門
家用基本版 sp2 (x86 和 amd64)
SP2 (x86 和 amd64) 家用進階版
sp2 (x86 和 amd64)
Enterprise with SP2 (x86 和 amd64)
Sp2 (x86 和 amd64)

 

支援的 WPD API 元素

下表識別 Windows 7、Windows Vista 和 Windows Vista 支援 Windows Vista 版本 Windows 作業系統平臺更新的功能。

WPD 功能 Windows 7 Windows Vista Windows Vista 的 Windows Vista 平臺更新
透過 USB 的 MTP Yes Yes Yes
透過 IP 的 MTP Yes Yes Yes
透過藍牙的 MTP No Yes
WPD 和 MTP 裝置服務 No Yes
WPD 自動化 No No
多函式/多傳輸 No No
裝置階段 No No
裝置同步平臺 No No

 

對於預設未安裝 Microsoft Windows 媒體播放機 的 Windows 7 和 Windows Vista 版本, (N 和 KN 版本) ,您必須安裝Windows Media Format 11 SDK才能啟用 WPD 功能。

Windows Vista 的平臺更新

概觀

關於 Windows Vista 的平臺更新