IDXGIAdapter1::GetDesc1 method (dxgi.h)

Gets a DXGI 1.1 description of an adapter (or video card).

Syntax

HRESULT GetDesc1(
  [out] DXGI_ADAPTER_DESC1 *pDesc
);

Parameters

[out] pDesc

Type: DXGI_ADAPTER_DESC1*

A pointer to a DXGI_ADAPTER_DESC1 structure that describes the adapter.
This parameter must not be NULL. On feature level 9 graphics hardware, GetDesc1 returns zeros for VendorId, DeviceId, SubSysId, and Revision members of DXGI_ADAPTER_DESC1 and “Software Adapter” for the description string in the Description member.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns E_INVALIDARG if the pDesc parameter is NULL.

Remarks

This method is not supported by DXGI 1.0, which shipped in Windows Vista and Windows Server 2008. DXGI 1.1 support is required, which is available on Windows 7, Windows Server 2008 R2, and as an update to Windows Vista with Service Pack 2 (SP2) (KB 971644) and Windows Server 2008 (KB 971512).

Use the GetDesc1 method to get a DXGI 1.1 description of an adapter. To get a DXGI 1.0 description, use the IDXGIAdapter method.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See also

DXGI Interfaces

IDXGIAdapter1

IDXGIAdapter::GetDesc