ID3D11VideoDevice::GetVideoDecoderProfile Method

Gets a profile that is supported by the driver.

Syntax

public:
HRESULT GetVideoDecoderProfile(
         UINT Index,
         GUID *pDecoderProfile
)  

Parameters

Index
Type: UINT 

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

pDecoderProfile
Type: GUID *

[out] Receives a GUID that identifies the profile.

Return value

Type: HRESULT 

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

See Direct3D 11 return codes for possible return values.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).