// d3dumddi.h
PFND3DDDI_DESTROYVIDEOPROCESSDEVICE Pfnd3dddiDestroyvideoprocessdevice;
HRESULT Pfnd3dddiDestroyvideoprocessdevice(
HANDLE hDevice,
HANDLE hVideoProcessor
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyVideoProcessDevice function releases resources for a Microsoft DirectX Video Acceleration (VA) video processing device.
hDeviceA handle to the display device (graphics context).
hVideoProcessorA handle to the DirectX VA video processing device that was created by the CreateVideoProcessDevice function.
DestroyVideoProcessDevice should return S_OK or an appropriate error result if it cannot successfully release resources for the DirectX VA decode device.
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.