Bewerken

Delen via


PFND3D11_1DDI_GETVIDEODECODERCONFIGCOUNT callback function (d3d10umddi.h)

Queries the number of video decoder configurations that are supported by the display miniport driver for the specified decoder operation.

Syntax

PFND3D11_1DDI_GETVIDEODECODERCONFIGCOUNT Pfnd3d111DdiGetvideodecoderconfigcount;

void Pfnd3d111DdiGetvideodecoderconfigcount(
  D3D10DDI_HDEVICE unnamedParam1,
  const D3D11_1DDI_VIDEO_DECODER_DESC *unnamedParam2,
  UINT *unnamedParam3
)
{...}

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

pConfigCount [out]

A pointer to a UINT value that specifies the maximum number of decoder configurations that are supported.

Return value

None

Remarks

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