Interface ITCallNotificationEvent (tapi3if.h)

A interface ITCallNotificationEvent contém métodos que recuperam a descrição de eventos de notificação de chamada. Quando a implementação do aplicativo do método ITTAPIEventNotification::Event indica um TAPI_EVENT igual a TE_CALLNOTIFICATION, o parâmetro pEvent do método é um ponteiro IDispatch para a interface ITCallNotificationEvent . Os métodos dessa interface podem ser usados para recuperar informações sobre o evento de notificação de chamada que ocorreu.

Essa interface de saída é registrada com o objeto TAPI para obter todas as informações sobre chamadas. Um aplicativo deve chamar o método ITTAPI::RegisterCallNotifications no objeto TAPI antes de registrar essa interface.

Nota Você deve chamar o método ITTAPI::p ut_EventFilter e definir uma máscara de filtro de evento que inclua o evento TE_CALLNOTIFICATION para habilitar a recepção de eventos de notificação de chamada. Se você não chamar ITTAPI::p ut_EventFilter, seu aplicativo não receberá nenhum evento. Para obter mais informações, consulte a Visão geral de eventos .
 

Herança

A interface ITCallNotificationEvent herda da interface IDispatch . ITCallNotificationEvent também tem estes tipos de membros:

Métodos

A interface ITCallNotificationEvent tem esses métodos.

 
ITCallNotificationEvent::get_Call

O método get_Call retorna a interface ITCallInfo na qual ocorreu um evento de chamada.
ITCallNotificationEvent::get_CallbackInstance

O método get_CallbackInstance obtém um ponteiro para a instância de retorno de chamada associada a esse evento. (ITCallNotificationEvent.get_CallbackInstance)
ITCallNotificationEvent::get_Event

O método get_Event retorna uma CALL_NOTIFICATION_EVENT descrição de se o aplicativo possui ou está monitorando a chamada na qual o evento ocorreu.

Requisitos

Requisito Valor
Plataforma de Destino Windows
Cabeçalho tapi3if.h (inclua Tapi3.h)

Confira também

Objeto Call

IDispatch

ITTAPI::RegisterCallNotifications

ITTAPIEventNotification::Event

Registrar snippet de código de eventos

TAPI_EVENT