ID3D11VideoDevice::GetVideoDecoderProfile method (d3d11.h)

Gets a profile that is supported by the driver.

Syntax

HRESULT GetVideoDecoderProfile(
  [in]  UINT Index,
  [out] GUID *pDecoderProfile
);

Parameters

[in] Index

The zero-based index of the profile. To get the number of profiles that the driver supports, call ID3D11VideoDevice::GetVideoDecoderProfileCount.

[out] pDecoderProfile

Receives a GUID that identifies the profile.

Return value

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

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