IAMTVTuner::get_InputType 方法 (strmif.h)

[與此頁面 相關的功能 DirectShow是舊版功能。 它已被 MediaPlayerIMFMediaEngineMedia Foundation 中的音訊/視訊擷取取代。 這些功能已針對Windows 10和Windows 11進行優化。 Microsoft 強烈建議新程式碼盡可能使用 MediaPlayerIMFMediaEngine音訊/視訊擷取 ,而不是 DirectShow。 Microsoft 建議盡可能重寫使用舊版 API 的現有程式碼,以使用新的 API。]

方法 get_InputType 會擷取 IAMTVTuner::p ut_InputType中的輸入類型集。

語法

HRESULT get_InputType(
  [in]  long           lIndex,
  [out] TunerInputType *pInputType
);

參數

[in] lIndex

索引值,指定要設定的輸入針腳。

[out] pInputType

變數的指標,會接收 TunerInputType 列舉的成員。

傳回值

傳回取決於 介面實作的 HRESULT 值。

規格需求

   
最低支援的用戶端 Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限桌面應用程式]
目標平台 Windows
標頭 strmif.h (包含 Dshow.h)
程式庫 Strmiids.lib

另請參閱

錯誤和成功碼

IAMTVTuner 介面

IAMTuner 介面