IDXGISwapChain1::GetDesc1 method (dxgi1_2.h)

Gets a description of the swap chain.

Syntax

HRESULT GetDesc1(
  [out] DXGI_SWAP_CHAIN_DESC1 *pDesc
);

Parameters

[out] pDesc

A pointer to a DXGI_SWAP_CHAIN_DESC1 structure that describes the swap chain.

Return value

Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dxgi1_2.h
Library Dxgi.lib

See also

IDXGISwapChain1