ID3D12VideoEncoder::GetCodecConfiguration method (d3d12video.h)

Gets the codec configuration parameters associated with the video encoder.

Syntax

HRESULT GetCodecConfiguration(
  D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION dstCodecConfig
);

Parameters

dstCodecConfig

Receives a D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION structure representing the codec configuration parameters specified in the D3D12_VIDEO_ENCODER_DESC passed into ID3D12VideoDevice3::CreateVideoEncoder.

Return value

Returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h