IDXGIDecodeSwapChainPartner::GetDestSize method

Gets the size of the current display surface.

Syntax

HRESULT GetDestSize(
  [in]  UINT *pWidth,
  [in]  UINT *pHeight
);

Parameters

  • pWidth [in]
    A pointer to a variable that receives the width in pixels.

  • pHeight [in]
    A pointer to a variable that receives the height in pixels.

Return value

This method can return error codes that are described in the DXGI_ERROR topic.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

DXGIPartner.h

Library

Dxgi.lib

See also

IDXGIDecodeSwapChainPartner

 

 

Send comments about this topic to Microsoft

Build date: 8/14/2013