ID3D11VideoDevice::GetVideoDecoderConfigCount method

Gets the number of decoder configurations that the driver supports for a specified video description.

Syntax

HRESULT GetVideoDecoderConfigCount(
  const D3D11_VIDEO_DECODER_DESC *pDesc,
  UINT                           *pCount
);

Parameters

pDesc

A pointer to a D3D11_VIDEO_DECODER_DESC structure that describes the video stream.

pCount

Receives the number of decoder configurations.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

To enumerate the decoder configurations, call ID3D11VideoDevice::GetVideoDecoderConfig.

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See Also

ID3D11VideoDevice