Share via


DisplayAdapter 類別

定義

表示硬體顯示控制器。 這通常是 GPU (圖形處理單位) 。

public ref class DisplayAdapter sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DisplayAdapter final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DisplayAdapter
Public NotInheritable Class DisplayAdapter
繼承
Object Platform::Object IInspectable DisplayAdapter
屬性

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

屬性

DeviceInterfacePath

取得這個配接器的 PnP 裝置介面路徑。

Id

取得參考顯示配接器執行時間實例的本機唯一識別碼 (LUID) 。 如果介面卡的 PnP 裝置已停止/啟動,或系統重新開機,此識別碼就會變更。

LUID 是 64 位值,保證只在產生的系統上是唯一的。 只有在介面卡的 PnP 裝置停止/啟動,或系統重新開機之前,才保證 LUID 的唯一性。 此 LUID 與 Direct3DDisplayConfigHolographicSpace API 相容。

IsIndirectDisplayDevice

表示硬體顯示控制器。 這通常是 GPU (圖形處理單位) 。

PciDeviceId

取得介面卡的 PCI 裝置識別碼。

PciRevision

取得介面卡的 PCI 修訂編號。

PciSubSystemId

取得介面卡的 PCI 子系統識別碼。

PciVendorId

取得介面卡的 PCI 廠商識別碼。

PreferredRenderAdapter

表示硬體顯示控制器。 這通常是 GPU (圖形處理單位) 。

Properties

取得集合,其中包含顯示配接器的屬性。

SourceCount

取得 (顯示驅動程式所公開之硬體來源計數) 的數目。 這通常是配接器允許的同時路徑數目上限。

方法

FromId(DisplayAdapterId)

如果配接器仍然存在於系統上,則擷取指定顯示介面卡識別碼的 DisplayAdapter 。 如果找不到指定的配接器,或系統上已不存在,這個方法會擲回例外狀況。

適用於