PFND3DDDI_DESTROYEXTENSIONDEVICE - NtDoc

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

PFND3DDDI_DESTROYEXTENSIONDEVICE Pfnd3dddiDestroyextensiondevice;

HRESULT Pfnd3dddiDestroyextensiondevice(
  HANDLE hDevice,
  HANDLE hExtension
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3DDDI_DESTROYEXTENSIONDEVICE callback function

Description

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

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.

See also

CreateExtensionDevice

D3DDDI_DEVICEFUNCS