IDXGIAdapter1::GetDesc1 method
Gets a DXGI 1.1 description of an adapter (or video card).
Syntax
HRESULT GetDesc1( [out] DXGI_ADAPTER_DESC1 *pDesc );
Parameters
- pDesc [out]
-
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 the PCI ID in the 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
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
Library |
|
See also