PFND3D11_1DDI_GETVIDEODECODERBUFFERTYPECOUNT callback function

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 Arg1,
  const D3D11_1DDI_VIDEO_DECODER_DESC *Arg2,
  UINT *Arg3
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

pDecodeDesc [in]

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

Arg3

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

This callback function does not return a value.

Remarks

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