PFND3D11_1DDI_GETVIDEODECODERBUFFERTYPECOUNT callback function (d3d10umddi.h)

Queries the number of buffer types that the display miniport driver requires to perform a specified decode operation.

Syntax

PFND3D11_1DDI_GETVIDEODECODERBUFFERTYPECOUNT Pfnd3d111DdiGetvideodecoderbuffertypecount;

void Pfnd3d111DdiGetvideodecoderbuffertypecount(
  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

pBufferTypeCount [out]

A pointer to a UINT value that specifies the maximum number of buffer types that the driver supports for the specified video decoder operation.

Return value

None

Remarks

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