Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 3.48 KB

nc-d3dumddi-pfnd3dddi_setvideoprocessrendertarget.md

File metadata and controls

88 lines (63 loc) · 3.48 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dumddi.PFND3DDDI_SETVIDEOPROCESSRENDERTARGET
PFND3DDDI_SETVIDEOPROCESSRENDERTARGET (d3dumddi.h)
The SetVideoProcessRenderTarget function sets the render target surface that is used for video processing.
display\setvideoprocessrendertarget.htm
display
05/10/2018
PFND3DDDI_SETVIDEOPROCESSRENDERTARGET callback function
PFND3DDDI_SETVIDEOPROCESSRENDERTARGET, PFND3DDDI_SETVIDEOPROCESSRENDERTARGET callback, SetVideoProcessRenderTarget, SetVideoProcessRenderTarget callback function [Display Devices], UserModeDisplayDriver_Functions_8ce2d981-2c69-45e9-a2e2-eba9026be1a0.xml, d3dumddi/SetVideoProcessRenderTarget, display.setvideoprocessrendertarget
d3dumddi.h
D3dumddi.h
Desktop
Available in Windows Vista and later versions of the Windows operating systems.
Windows
PFND3DDDI_SETVIDEOPROCESSRENDERTARGET
d3dumddi/PFND3DDDI_SETVIDEOPROCESSRENDERTARGET
APIRef
kbSyntax
UserDefined
d3dumddi.h
PFND3DDDI_SETVIDEOPROCESSRENDERTARGET

PFND3DDDI_SETVIDEOPROCESSRENDERTARGET callback function

-description

The SetVideoProcessRenderTarget function sets the render target surface that is used for video processing.

-parameters

-param hDevice

A handle to the display device (graphics context).

-param unnamedParam2

pData [in]

A pointer to a D3DDDIARG_SETVIDEOPROCESSRENDERTARGET structure that describes the render target surface that is used for video processing.

-returns

SetVideoProcessRenderTarget returns one of the following values:

Return code Description
S_OK The render target surface is successfully set.
E_OUTOFMEMORY SetVideoProcessRenderTarget could not allocate the required memory for it to complete.

-remarks

SetVideoProcessRenderTarget can be called only outside of a VideoProcessBeginFrame/VideoProcessEndFrame block.

All video processing render targets are created by setting the D3DDDI_RESOURCEFLAGS.VideoProcessRenderTarget bit-field flag in the Flags member of the D3DDDIARG_CREATERESOURCE structure in a call to the CreateResource function.

-see-also

D3DDDIARG_SETVIDEOPROCESSRENDERTARGET

D3DDDI_DEVICEFUNCS

D3DDDI_RESOURCEFLAGS