Blt
Expand Minimize

DestroyExtensionDevice routine

The DestroyExtensionDevice function releases resources for a Microsoft DirectX Video Acceleration (VA) extension device.

Syntax


PFND3DDDI_DESTROYEXTENSIONDEVICE DestroyExtensionDevice;

__checkReturn HRESULT APIENTRY DestroyExtensionDevice(
  _In_  HANDLE hDevice,
  _In_  HANDLE hExtension
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

hExtension [in]

A handle to the DirectX VA extension device that the CreateExtensionDevice function created.

Return value

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

Remarks

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.

Requirements

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreateExtensionDevice
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft