PFND3DDDI_DECODEENDFRAME callback function (d3dumddi.h)

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

Syntax

PFND3DDDI_DECODEENDFRAME Pfnd3dddiDecodeendframe;

HRESULT Pfnd3dddiDecodeendframe(
  HANDLE hDevice,
  D3DDDIARG_DECODEENDFRAME *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in, out]

A pointer to a D3DDDIARG_DECODEENDFRAME structure that describes the DirectX VA decoder that should stop decoding a frame.

Return value

DecodeEndFrame returns one of the following values:

Return code Description
S_OK Decoding successfully completed.
E_OUTOFMEMORY DecodeEndFrame could not allocate the required memory for it to complete.

Remarks

The DecodeEndFrame function notifies the user-mode display driver that its DecodeExecute function can no longer be called on the specified decode 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

D3DDDIARG_DECODEENDFRAME

D3DDDI_DEVICEFUNCS

DecodeExecute