ITFileTerminalEvent 介面 (tapi3if.h)

ITFileTerminalEvent 介面包含方法,可擷取已發生的檔案終端機事件描述。 當應用程式的 ITTAPIEventNotification::Event 方法實作指出TAPI_EVENT等於TE_FILETERMINAL時,方法的 pEvent 參數是 ITFileTerminalEvent 介面的 IDispatch 指標。

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

繼承

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

方法

ITFileTerminalEvent 介面具有這些方法。

 
ITFileTerminalEvent::get_Call

get_Call 方法會取得發生事件之呼叫之呼叫資訊的指標。 (ITFileTerminalEvent.get_Call)
ITFileTerminalEvent::get_Cause

get_Cause 方法會取得與此事件相關聯的原因。 (ITFileTerminalEvent.get_Cause)
ITFileTerminalEvent::get_Error

get_Error 方法會取得事件的錯誤碼。
ITFileTerminalEvent::get_State

get_State 方法會取得新檔案終端機狀態的相關信息。
ITFileTerminalEvent::get_Terminal

get_Terminal方法會傳回產生此事件的檔案終端機。
ITFileTerminalEvent::get_Track

get_Track方法會傳回產生此事件的追蹤終端機。

規格需求

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