ID3D11VideoDevice::GetVideoDecoderProfile 方法 (d3d11.h)

取得驅動程式支援的配置檔。

語法

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

參數

[in] Index

配置檔以零起始的索引。 若要取得驅動程序支援的配置檔數目,請呼叫 ID3D11VideoDevice::GetVideoDecoderProfileCount

[out] pDecoderProfile

接收識別配置檔的 GUID。

傳回值

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

需求
最低支援的用戶端 Windows 8 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2012 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 d3d11.h

另請參閱

ID3D11VideoDevice