PFND3DDDI_VIDEOPROCESSENDFRAME callback function (d3dumddi.h)

The VideoProcessEndFrame function notifies the user-mode display driver that all of the data that is required to process the current frame was submitted.

Syntax

PFND3DDDI_VIDEOPROCESSENDFRAME Pfnd3dddiVideoprocessendframe;

HRESULT Pfnd3dddiVideoprocessendframe(
  HANDLE hDevice,
  D3DDDIARG_VIDEOPROCESSENDFRAME *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in, out]

A pointer to a D3DDDIARG_VIDEOPROCESSENDFRAME structure that describes the DirectX VA video processor that should stop processing a frame.

Return value

VideoProcessEndFrame returns one of the following values:

Return code Description
S_OK Processing of the current frame is successfully completed.
E_OUTOFMEMORY VideoProcessEndFrame cannot allocate memory required for it to complete.

Remarks

The VideoProcessEndFrame function notifies the user-mode display driver that its VideoProcessBlt function can no longer be called on the specified video processing device.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

CreateVideoProcessDevice

D3DDDIARG_VIDEOPROCESSENDFRAME

D3DDDI_DEVICEFUNCS

VideoProcessBlt