Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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(
  [out] DXGI_SWAP_CHAIN_DESC *pDesc
);

Parameters

pDesc [out]

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.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGISwapChain

 

 

Community Additions

Show:
© 2015 Microsoft