PFND3DDDI_DESTROYEXTENSIONDEVICE callback function

The DestroyExtensionDevice function releases resources for a Microsoft DirectX Video Acceleration (VA) extension device.

Syntax

PFND3DDDI_DESTROYEXTENSIONDEVICE Pfnd3dddiDestroyextensiondevice;

HRESULT Pfnd3dddiDestroyextensiondevice(
  HANDLE hDevice,
  HANDLE hExtension
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

hExtension

A handle to the DirectX VA extension device that the CreateExtensionDevice function created.

Return Value

DestroyExtensionDevice should return S_OK or an appropriate error result if it cannot successfully release resources for the DirectX VA extension device.

Remarks

The DestroyExtensionDevice function notifies the driver to destroy the handle to the DirectX VA extension device that the CreateExtensionDevice function previously created. The driver can then release resources that are associated with the DirectX VA extension device handle.

Requirements

   
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

CreateExtensionDevice

D3DDDI_DEVICEFUNCS