ID3D11VideoDevice::GetVideoDecoderConfigCount method (d3d11.h)

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

Syntax

HRESULT GetVideoDecoderConfigCount(
  [in]  const D3D11_VIDEO_DECODER_DESC *pDesc,
  [out] UINT                           *pCount
);

Parameters

[in] pDesc

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

[out] 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

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