GetVideoDecoderBufferTypeCount function

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

Syntax


VOID APIENTRY* GetVideoDecoderBufferTypeCount(
  _In_        D3D10DDI_HDEVICE              hDevice,
  _In_  const D3D11_1DDI_VIDEO_DECODER_DESC *pDecodeDesc,
  _Out_       UINT                          *pBufferTypeCount
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

pDecodeDesc [in]

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

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 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

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDI_VIDEO_DECODER_DESC

 

 

Send comments about this topic to Microsoft

Show: