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
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 of the hardware vendor. On feature level 9 graphics hardware, GetDesc returns zeros for the PCI ID of the hardware vendor.
DeviceId
Type: UINT
The PCI ID of the hardware device. On feature level 9 graphics hardware, GetDesc returns zeros for the PCI ID of the hardware device.
SubSysId
Type: UINT
The PCI ID of the sub system. On feature level 9 graphics hardware, GetDesc returns zeros for the PCI ID of the sub system.
Revision
Type: UINT
The PCI ID of the revision number of the adapter. On feature level 9 graphics hardware, GetDesc returns zeros for the PCI ID of the revision number of the adapter.
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
| Header | dxgi.h |