ITDigitGenerationEvent 介面 (tapi3if.h)

ITDigitGenerationEvent 介面包含描述數位產生事件的方法。 當應用程式的 ITTAPIEventNotification::Event 方法實作指出TAPI_EVENT等於TE_GENERATEEVENT時,方法的 pEvent 參數是 ITDigitGenerationEvent 介面的 IDispatch 指標。 這個介面的方法可用來報告需要產生 DTMF 數位的呼叫。 此介面是由應用程式實作,並由TAPI 3 DLL呼叫。

注意 您必須呼叫 ITTAPI::p ut_EventFilter 方法,並設定包含 TE_GENERATEEVENT 事件的事件篩選遮罩,以啟用數位產生事件的接收。 如果您未呼叫 ITTAPI::p ut_EventFilter,您的應用程式將不會收到任何事件。 如需詳細資訊,請參閱 事件 概觀。
 

繼承

ITDigitGenerationEvent 介面繼承自 IDispatch 介面。 ITDigitGenerationEvent 也有下列類型的成員:

方法

ITDigitGenerationEvent 介面具有這些方法。

 
ITDigitGenerationEvent::get_Call

get_Call方法會針對需要事件的呼叫傳回 ITCallInfo 介面指標。
ITDigitGenerationEvent::get_CallbackInstance

get_CallbackInstance方法會取得與 事件相關聯之回呼實例的指標。 (ITDigitGenerationEvent.get_CallbackInstance)
ITDigitGenerationEvent::get_GenerationTermination

get_GenerationTermination 方法會取得指出所產生數位數列結尾的數位或數位。
ITDigitGenerationEvent::get_TickCount

get_TickCount 方法會取得「刻度計數」 (毫秒數,因為 Windows 開始) 數字產生完成。

規格需求

需求
目標平台 Windows
標頭 tapi3if.h (包括 Tapi3.h)

另請參閱

事件

IDispatch

ITTAPI::RegisterCallNotifications

ITTAPIEventNotification

註冊事件代碼段