PFND3DDDI_CREATEEXTENSIONDEVICE callback function

The CreateExtensionDevice function creates a Microsoft DirectX Video Acceleration (DirectX VA) extension device.

Syntax

PFND3DDDI_CREATEEXTENSIONDEVICE Pfnd3dddiCreateextensiondevice;

HRESULT Pfnd3dddiCreateextensiondevice(
  HANDLE hDevice,
  D3DDDIARG_CREATEEXTENSIONDEVICE *
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

*

Return Value

CreateExtensionDevice returns one of the following values:

Return code Description
S_OK
The extension device is successfully created.
E_OUTOFMEMORY
CreateExtensionDevice could not allocate the required memory for it to complete.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDIARG_CREATEEXTENSIONDEVICE

DestroyExtensionDevice