DisplayAdapter DisplayAdapter DisplayAdapter DisplayAdapter DisplayAdapter Class

Definition

Represents a hardware display controller. This is typically a GPU (graphics processing unit).

public : sealed class DisplayAdapter
struct winrt::Windows::Devices::Display::Core::DisplayAdapter
public sealed class DisplayAdapter
Public NotInheritable Class DisplayAdapter
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Properties

DeviceInterfacePath DeviceInterfacePath DeviceInterfacePath DeviceInterfacePath DeviceInterfacePath

Gets the PnP device interface path for this adapter.

Id Id Id Id Id

Gets a numeric locally unique ID (LUID) that refers to the runtime instance of the display adapter. This ID changes if the adapter's PnP device is stopped/started, or if the system reboots.

An LUID is a 64-bit value guaranteed to be unique only on the system on which it was generated. The uniqueness of an LUID is guaranteed only until the adapter's PnP device is stopped/started, or if the system is restarted. This LUID is compatible with Direct3D, DisplayConfig, and HolographicSpace APIs.

PciDeviceId PciDeviceId PciDeviceId PciDeviceId PciDeviceId

Gets the PCI device ID of the adapter.

PciRevision PciRevision PciRevision PciRevision PciRevision

Gets the PCI revision number of the adapter.

PciSubSystemId PciSubSystemId PciSubSystemId PciSubSystemId PciSubSystemId

Gets the PCI subsystem ID of the adapter.

PciVendorId PciVendorId PciVendorId PciVendorId PciVendorId

Gets the PCI vendor ID of the adapter.

Properties Properties Properties Properties Properties
SourceCount SourceCount SourceCount SourceCount SourceCount

Gets the number (the count) of hardware sources exposed by the display driver. This is typically the maximum number of simultaneous paths allowed by the adapter.

Methods

FromId(DisplayAdapterId) FromId(DisplayAdapterId) FromId(DisplayAdapterId) FromId(DisplayAdapterId) FromId(DisplayAdapterId)

Retrieves a DisplayAdapter for the given display adapter ID, if the adapter still exists on the system. This method throws an exception if the specified adapter cannot be found, or if it is no longer present on the system.