PFND3DDDI_SETVIDEOPROCESSRENDERTARGET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_SETVIDEOPROCESSRENDERTARGET Pfnd3dddiSetvideoprocessrendertarget;

HRESULT Pfnd3dddiSetvideoprocessrendertarget(
  HANDLE hDevice,
  const D3DDDIARG_SETVIDEOPROCESSRENDERTARGET *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_setvideoprocessrendertarget)

PFND3DDDI_SETVIDEOPROCESSRENDERTARGET callback function

Description

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

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

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

Return value

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