Windows apps
Collapse the table of content
Expand the table of content
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.

IDXGIDecodeSwapChain::SetTargetRect method

Sets the rectangle that defines the target region for the video processing blit operation.

The target rectangle is the area within the destination surface where the output will be drawn. The target rectangle is given in pixel coordinates, relative to the destination surface.

Syntax


HRESULT SetTargetRect(
   const RECT *pRect
);

Parameters

pRect

A pointer to a RECT structure that contains the target region to set for the swap chain.

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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dxgi1_3.h

Library

Dxgi.lib

See also

IDXGIDecodeSwapChain

 

 

Show:
© 2017 Microsoft