PFND3D11_1DDI_GETVIDEODECODERPROFILE callback function (d3d10umddi.h)

Queries the attributes of a specified video decoder profile.

Syntax

PFND3D11_1DDI_GETVIDEODECODERPROFILE Pfnd3d111DdiGetvideodecoderprofile;

void Pfnd3d111DdiGetvideodecoderprofile(
  D3D10DDI_HDEVICE unnamedParam1,
  UINT unnamedParam2,
  GUID *unnamedParam3
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

Index [in]

The zero-based index of the video decoder profile. The display miniport driver returns the maximum number of video decoder profiles that it supports through a call to its GetVideoDecoderProfileCount function.

unnamedParam3

pDecodeDesc [out]

A pointer to a D3D11_1DDI_VIDEO_DECODER_DESC structure that specifies the attributes of the specified video decoder profile.

Return value

None

Remarks

The Microsoft Direct3D runtime verifies that the Index parameter data is valid before it calls the GetVideoDecoderProfile 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_DESC

GetVideoDecoderProfileCount