ITLegacyCallMediaControl 介面 (tapi3if.h)
ITLegacyCallMediaControl介面支援必須直接與裝置通訊的繼承應用程式。 此介面會在呼叫物件上公開,而且可以藉由在ITBasicCallControl上呼叫QueryInterface來建立。
ITLegacyCallMediaControl2介面是ITLegacyCallMediaControl介面的延伸模組。 ITLegacyCallMediaControl2 提供其他方法,主要是用於音調偵測和產生。
繼承
ITLegacyCallMediaControl介面繼承自IDispatch介面。 ITLegacyCallMediaControl 也有下列類型的成員:
方法
ITLegacyCallMediaControl介面具有這些方法。
ITLegacyCallMediaControl::D etectDigits DetectDigits 方法會設定在目前呼叫上偵測到之數位類型的識別碼,例如旋轉脈衝或 DTMF。 |
ITLegacyCallMediaControl::GenerateDigits GenerateDigits 方法會導致目前呼叫上輸出數位。 |
ITLegacyCallMediaControl::GetID GetID 方法會取得與目前呼叫相關聯的裝置識別碼。 |
ITLegacyCallMediaControl::MonitorMedia MonitorMedia 方法會設定目前呼叫上指定媒體類型的監視。 |
ITLegacyCallMediaControl::SetMediaType SetMediaType 方法會設定其 LINECALLINFO 結構中目前呼叫的媒體類型 (s) 。 如需詳細資訊,請參閱 lineSetMediaMode。 |
規格需求
目標平台 | Windows |
標頭 | tapi3if.h (包括 Tapi3.h) |