PDXVAHDSW_CreateDevice callback function (dxvahd.h)

Creates an instance of a software plug-in Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax

PDXVAHDSW_CreateDevice PdxvahdswCreatedevice;

HRESULT PdxvahdswCreatedevice(
  [in]  IDirect3DDevice9Ex *pD3DDevice,
  [out] HANDLE *phDevice
)
{...}

Parameters

[in] pD3DDevice

A pointer to the IDirect3DDevice9Ex interface of the Direct3D device.

[out] phDevice

Receives a handle to the plug-in DXVA-HD device.

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header dxvahd.h

See also

DXVA-HD

DXVAHDSW_CALLBACKS

Media Foundation Functions