ITRequestEvent 介面 (tapi3if.h)

ITRequestEvent介面包含方法,可讓應用程式接收及處理輔助電話語音要求事件。 當應用程式的ITTAPIEventNotification::Event方法實作指出TAPI_EVENT等於TE_REQUEST時,方法的pEvent參數是ITRequestEvent介面的IDispatch指標。 這個介面的方法可用來擷取已發生之要求事件的相關資訊。

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

繼承

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

方法

ITRequestEvent介面具有這些方法。

 
ITRequestEvent::get_AppName

get_AppName方法會取得應用程式的名稱。
ITRequestEvent::get_CalledParty

get_CalledParty 方法會取得呼叫方。
ITRequestEvent::get_Comment

get_Comment方法會取得批註。
ITRequestEvent::get_DestAddress

get_DestAddress方法會取得目的地位址。
ITRequestEvent::get_RegistrationInstance

get_RegistrationInstance 方法會取得註冊實例。
ITRequestEvent::get_RequestMode

get_RequestMode方法會取得要求的模式。

規格需求

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

另請參閱

IDispatch

ITRequest

ITTAPIEventNotification::Event

註冊事件程式碼片段

TAPI_EVENT