IMFDeviceTransform::GetOutputStreamAttributes 方法 (mftransform.h)

GetOutputStreamAttributes 方法會取得此 Media Foundation 轉換上輸出數據流的屬性存放區, (MFT) 。

語法

HRESULT GetOutputStreamAttributes(
  DWORD         dwOutputStreamID,
  IMFAttributes **ppAttributes
);

參數

dwOutputStreamID

輸出數據流的 Stream 標識符,其狀態必須擷取。

ppAttributes

接收 IMFAttributes 介面的指標。 呼叫端必須釋放 介面。

傳回值

方法會傳回 HRESULT。 可能的值包括但不限於下表中所提供的值。

傳回碼 描述
S_OK
初始化成功。
MF_E_INVALIDREQUEST
裝置 MFT 目前無法支援要求。
MF_E_INVALIDSTREAMNUMBER
傳遞無效的數據流標識碼時傳回。

備註

DTM 會使用此函式來取得特定輸出數據流的屬性存放區。

規格需求

需求
最低支援的用戶端 Windows 10 (版本 1703)
目標平台 Windows
標頭 mftransform.h

另請參閱

IMFDeviceTransform