IDXGIDecodeSwapChain::SetDestSize method (dxgi1_3.h)
Sets the size of the destination surface to use for the video processing blit operation.
The destination rectangle is the portion of the output surface that receives the blit for this stream. The destination rectangle is given in pixel coordinates, relative to the output surface.
Syntax
HRESULT SetDestSize(
UINT Width,
UINT Height
);
Parameters
Width
The width of the destination size, in pixels.
Height
The height of the destination size, in pixels.
Return value
This method returns S_OK on success, or it returns one of the error codes that are described in the DXGI_ERROR topic.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_3.h |
Library | Dxgi.lib |