Skip to main content
ID3D11VideoDevice::GetVideoDecoderConfigCount method

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

pDesc [in]

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

pCount [out]

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoDevice