PFND3D11_1DDI_GETVIDEODECODERPROFILE callback function

Queries the attributes of a specified video decoder profile.

Syntax

PFND3D11_1DDI_GETVIDEODECODERPROFILE Pfnd3d111DdiGetvideodecoderprofile;

void Pfnd3d111DdiGetvideodecoderprofile(
  D3D10DDI_HDEVICE Arg1,
  UINT Arg2,
  GUID *Arg3
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

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.

Arg3

pDecodeDesc [out]

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

Return Value

This callback function does not return a value.

Remarks

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

Requirements

   
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