IAMVfwCompressDialogs::SendDriverMessage 方法 (strmif.h)
[與此頁面相關的功能 DirectShow 是舊版功能。 它已被 MediaPlayer、 IMFMediaEngine 和 Media Foundation 中的音訊/視訊擷取取代。 這些功能已針對 Windows 10 和 Windows 11 進行優化。 Microsoft 強烈建議新程式代碼盡可能使用 MediaPlayer、 IMFMediaEngine 和 音訊/視訊擷取 ,而不是 DirectShow。 Microsoft 建議使用舊版 API 的現有程式代碼盡可能重寫為使用新的 API。
方法 SendDriverMessage
會傳送驅動程式特定的訊息。
語法
HRESULT SendDriverMessage(
[in] int uMsg,
[in] long dw1,
[in] long dw2
);
參數
[in] uMsg
要傳送至驅動程序的訊息。
[in] dw1
訊息數據。
[in] dw2
訊息數據。
傳回值
傳回值會根據每個驅動程式內的實作而有所不同。
備註
您絕對不需要使用這個方法。 這個方法可以將任何私人訊息傳送至影片 (編解碼器) 。 行為可能不確定以回應任意訊息;請自行風險使用這個方法。
這個方法會呼叫 Windows 視訊壓縮管理員 (VCM) ICSendMessage 函式來傳送訊息。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 2000 專業版 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows 2000 Server [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | strmif.h (包含 Dshow.h) |
程式庫 | Strmiids.lib |