PFND3DDDI_DESTROYVIDEOPROCESSDEVICE - NtDoc

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

PFND3DDDI_DESTROYVIDEOPROCESSDEVICE Pfnd3dddiDestroyvideoprocessdevice;

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

NtDoc

No description available.

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

PFND3DDDI_DESTROYVIDEOPROCESSDEVICE callback function

Description

The DestroyVideoProcessDevice function releases resources for a Microsoft DirectX Video Acceleration (VA) video processing device.

Parameters

hDevice

A handle to the display device (graphics context).

hVideoProcessor

A handle to the DirectX VA video processing device that was created by the CreateVideoProcessDevice function.

Return value

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

Remarks

The DestroyVideoProcessDevice function notifies the driver to destroy the handle to the DirectX VA video processing device that the CreateVideoProcessDevice function previously created. The driver can then release resources that are associated with the DirectX VA video processing device handle.

See also

CreateVideoProcessDevice

D3DDDI_DEVICEFUNCS