PFND3DDDI_DXVAHD_DESTROYVIDEOPROCESSOR callback function (d3dumddi.h)
The DestroyVideoProcessor function releases resources for a Microsoft DirectX Video Acceleration (VA) video processor.
Syntax
PFND3DDDI_DXVAHD_DESTROYVIDEOPROCESSOR Pfnd3dddiDxvahdDestroyvideoprocessor;
HRESULT Pfnd3dddiDxvahdDestroyvideoprocessor(
HANDLE unnamedParam1,
HANDLE unnamedParam2
)
{...}
Parameters
unnamedParam1
hDevice [in]
A handle to the display device (graphics context).
unnamedParam2
hVideoProcessor [in]
A handle to the DirectX VA video processor that the CreateVideoProcessor function creates.
Return value
DestroyVideoProcessor should return S_OK or an appropriate error result if it cannot successfully release resources for the DirectX VA video processor.
Remarks
The DestroyVideoProcessor function notifies the driver to destroy the handle to the DirectX VA video processor that the CreateVideoProcessor function previously created. The driver can then release resources that are associated with the DirectX VA video processor handle.
Requirements
Requirement | Value |
---|---|
Minimum supported client | DestroyVideoProcessor is supported beginning with the Windows 7 operating system. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |