IDXGISwapChain1::GetDesc1 method

Gets a description of the swap chain.

Syntax

HRESULT GetDesc1(
  DXGI_SWAP_CHAIN_DESC1 *pDesc
);

Parameters

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

   
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