PFND3DDDI_EXTENSIONEXECUTE callback function (d3dumddi.h)

The ExtensionExecute function performs an operation by using the given DirectX Video Accelerator (DXVA) extension device.

Syntax

PFND3DDDI_EXTENSIONEXECUTE Pfnd3dddiExtensionexecute;

HRESULT Pfnd3dddiExtensionexecute(
  HANDLE hDevice,
  const D3DDDIARG_EXTENSIONEXECUTE *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_EXTENSIONEXECUTE structure that describes the DXVA operation to perform.

Return value

ExtensionExecute returns one of the following values:

Return code Description
S_OK The DXVA operation is successfully performed.
E_OUTOFMEMORY ExtensionExecute could not allocate the required memory for it to complete.

Remarks

For more information, see Extended Support for DirectX VA 2.0.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

CreateExtensionDevice

D3DDDIARG_EXTENSIONEXECUTE

D3DDDI_DEVICEFUNCS