ID3D11VideoDecoder::GetCreationParameters method

Gets the parameters that were used to create the decoder.

Syntax


HRESULT GetCreationParameters(
  [out] D3D11_VIDEO_DECODER_DESC   *pVideoDesc,
  [out] D3D11_VIDEO_DECODER_CONFIG *pConfig
);

Parameters

pVideoDesc [out]

A pointer to a D3D11_VIDEO_DECODER_DESC structure that receives a description of the video stream.

pConfig [out]

A pointer to a D3D11_VIDEO_DECODER_CONFIG structure that receives the decoder configuration.

Return value

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

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

ID3D11VideoDecoder

 

 

Show: