分享方式:


PFND3D11_1DDI_GETVIDEODECODERPROFILE回呼函式 (d3d10umddi.h)

查詢指定之影片譯碼器配置檔的屬性。

語法

PFND3D11_1DDI_GETVIDEODECODERPROFILE Pfnd3d111DdiGetvideodecoderprofile;

void Pfnd3d111DdiGetvideodecoderprofile(
  D3D10DDI_HDEVICE unnamedParam1,
  UINT unnamedParam2,
  GUID *unnamedParam3
)
{...}

參數

unnamedParam1

hDevice [in]

顯示裝置的句柄(圖形內容)。

unnamedParam2

索引 [in]

影片譯碼器配置檔以零起始的索引。 顯示迷你埠驅動程式會傳回它透過呼叫其 GetVideoDecoderProfileCount 函式所支援的視訊譯碼器配置檔數目上限。

unnamedParam3

pDecodeDesc [out]

指定指定視訊譯碼器配置檔屬性之 D3D11_1DDI_VIDEO_DECODER_DESC 結構的指標。

傳回值

沒有

言論

Microsoft Direct3D 運行時間會先驗證 Index 參數數據是否有效,再呼叫 GetVideoDecoderProfile 函式。

要求

要求 價值
最低支援的用戶端 Windows 8
支援的最低伺服器 Windows Server 2012
目標平臺 桌面
標頭 d3d10umddi.h (包括 D3d10umddi.h)

另請參閱

D3D11_1DDI_VIDEO_DECODER_DESC

GetVideoDecoderProfileCount