IDXGISwapChain::GetDesc method

[Starting with Direct3D 11.1, we recommend not to use GetDesc anymore to get a description of the swap chain. Instead, use IDXGISwapChain1::GetDesc1.]

Get a description of the swap chain.

Syntax

HRESULT GetDesc(
  DXGI_SWAP_CHAIN_DESC *pDesc
);

Parameters

pDesc

Type: DXGI_SWAP_CHAIN_DESC*

A pointer to the swap-chain description (see DXGI_SWAP_CHAIN_DESC).

Return Value

Type: HRESULT

Returns one of the following DXGI_ERROR.

Requirements

   
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See Also

IDXGISwapChain