PFND3DDDI_CREATEEXTENSIONDEVICE - NtDoc

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

PFND3DDDI_CREATEEXTENSIONDEVICE Pfnd3dddiCreateextensiondevice;

HRESULT Pfnd3dddiCreateextensiondevice(
  HANDLE hDevice,
  D3DDDIARG_CREATEEXTENSIONDEVICE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3DDDI_CREATEEXTENSIONDEVICE callback function

Description

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

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in, out]

A pointer to a D3DDDIARG_CREATEEXTENSIONDEVICE structure. On input, this structure contains information that the driver can use. On output, the driver specifies information in the structure that the Direct3D runtime can use.

Return value

CreateExtensionDevice returns one of the following values:

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

Remarks

For more information, see Creating and Using a DirectX VA 2.0 Extension Device.

See also

D3DDDIARG_CREATEEXTENSIONDEVICE

DecodeExtensionExecute

DestroyExtensionDevice