// d3dumddi.h
PFND3DDDI_DESTROYEXTENSIONDEVICE Pfnd3dddiDestroyextensiondevice;
HRESULT Pfnd3dddiDestroyextensiondevice(
HANDLE hDevice,
HANDLE hExtension
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyExtensionDevice function releases resources for a Microsoft DirectX Video Acceleration (VA) extension device.
hDeviceA handle to the display device (graphics context).
hExtensionA handle to the DirectX VA extension device that the CreateExtensionDevice function created.
DestroyExtensionDevice should return S_OK or an appropriate error result if it cannot successfully release resources for the DirectX VA extension device.
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.