PFND3D11_1DDI_GETVIDEODECODERCONFIG callback function (d3d10umddi.h)

Queries the video decoder configuration for a specified video operation.

Syntax

PFND3D11_1DDI_GETVIDEODECODERCONFIG Pfnd3d111DdiGetvideodecoderconfig;

void Pfnd3d111DdiGetvideodecoderconfig(
  D3D10DDI_HDEVICE unnamedParam1,
  const D3D11_1DDI_VIDEO_DECODER_DESC *unnamedParam2,
  UINT unnamedParam3,
  D3D11_1DDI_VIDEO_DECODER_CONFIG *unnamedParam4
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pDecodeDesc [in]

A pointer to a D3D11_1DDI_VIDEO_DECODER_DESC structure that specifies the video decoder operation.

unnamedParam3

Index [in]

The zero-based index of the video decoder configuration that is used for the specified operation. The display miniport driver specifies the maximum number of video decoder configurations that are required for the operation through a call to its GetVideoDecoderConfigCount function.

unnamedParam4

pConfig [out]

A pointer to a D3D11_1DDI_VIDEO_DECODER_CONFIG structure that describes the video decoder configuration.

Return value

None

Remarks

The Microsoft Direct3D runtime verifies that the pDecodeDesc and Index parameter data is valid before it calls the GetVideoDecoderConfig function.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDI_VIDEO_DECODER_CONFIG

D3D11_1DDI_VIDEO_DECODER_DESC

GetVideoDecoderConfigCount