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.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoDevice

 

 

Community Additions

ADD
Show:
© 2014 Microsoft