D3DDDIARG_SETDECODERENDERTARGET structure (d3dumddi.h)

The D3DDDIARG_SETDECODERENDERTARGET structure describes the decode render target surface.

Syntax

typedef struct _D3DDDIARG_SETDECODERENDERTARGET {
  [in] HANDLE hDecode;
  [in] HANDLE hRenderTarget;
  [in] UINT   SubResourceIndex;
} D3DDDIARG_SETDECODERENDERTARGET;

Members

[in] hDecode

A handle to the Microsoft DirectX Video Acceleration (DirectX VA) decode device. The user-mode display driver returns this handle in a call to its CreateDecodeDevice function.

[in] hRenderTarget

A handle to the decode render target surface.

[in] SubResourceIndex

An index into the resource for the decode render target surface.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

CreateDecodeDevice

SetDecodeRenderTarget