// d3dumddi.h
PFND3DDDI_DESTROYDECODEDEVICE Pfnd3dddiDestroydecodedevice;
HRESULT Pfnd3dddiDestroydecodedevice(
HANDLE hDevice,
HANDLE unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyDecodeDevice function releases resources for a Microsoft DirectX Video Acceleration (VA) decode device.
hDeviceA handle to the display device (graphics context).
unnamedParam2hDecodeDevice [in]
A handle to the DirectX VA decode device that was created by the CreateDecodeDevice function.
DestroyDecodeDevice should return S_OK or an appropriate error result if it cannot successfully release resources for the DirectX VA decode device.
The DestroyDecodeDevice function notifies the driver to destroy the handle to the DirectX VA decode device that the CreateDecodeDevice function previously created. The driver can then release resources that are associated with the DirectX VA decode device handle.