DXGI_ADAPTER_DESC structure (dxgi.h)

Describes an adapter (or video card) by using DXGI 1.0.

Syntax

typedef struct DXGI_ADAPTER_DESC {
  WCHAR  Description[128];
  UINT   VendorId;
  UINT   DeviceId;
  UINT   SubSysId;
  UINT   Revision;
  SIZE_T DedicatedVideoMemory;
  SIZE_T DedicatedSystemMemory;
  SIZE_T SharedSystemMemory;
  LUID   AdapterLuid;
} DXGI_ADAPTER_DESC;

Members

Description[128]

Type: WCHAR[128]

A string that contains the adapter description. On feature level 9 graphics hardware, GetDesc returns “Software Adapter” for the description string.

VendorId

Type: UINT

The PCI ID or ACPI ID of the adapter's hardware vendor. If this value is less than or equal to 0xFFFF, it is a PCI ID; otherwise, it is an ACPI ID. On feature level 9 graphics hardware, GetDesc returns zero for this value.

DeviceId

Type: UINT

The PCI ID or ACPI ID of the adapter's hardware device. If VendorId is a PCI ID, it is also a PCI ID; otherwise, it is an ACPI ID. On feature level 9 graphics hardware, GetDesc returns zero for this value.

SubSysId

Type: UINT

The PCI ID or ACPI ID of the adapter's hardware subsystem. If VendorId is a PCI ID, it is also a PCI ID; otherwise, it is an ACPI ID. On feature level 9 graphics hardware, GetDesc returns zero for this value.

Revision

Type: UINT

The adapter's PCI or ACPI revision number. If VendorId is a PCI ID, it is a PCI device revision number; otherwise, it is an ACPI device revision number. On feature level 9 graphics hardware, GetDesc returns zeros for this value.

DedicatedVideoMemory

Type: SIZE_T

The number of bytes of dedicated video memory that are not shared with the CPU.

DedicatedSystemMemory

Type: SIZE_T

The number of bytes of dedicated system memory that are not shared with the CPU. This memory is allocated from available system memory at boot time.

SharedSystemMemory

Type: SIZE_T

The number of bytes of shared system memory. This is the maximum value of system memory that may be consumed by the adapter during operation. Any incidental memory consumed by the driver as it manages and uses video memory is additional.

AdapterLuid

Type: LUID

A unique value that identifies the adapter. See LUID for a definition of the structure. LUID is defined in dxgi.h.

Remarks

The DXGI_ADAPTER_DESC structure provides a description of an adapter. This structure is initialized by using the IDXGIAdapter::GetDesc method.

Requirements

Requirement Value
Header dxgi.h

See also

DXGI Structures