Share via


Interface ITCallNotificationEvent (tapi3if.h)

L’interface ITCallNotificationEvent contient des méthodes qui récupèrent la description des événements de notification d’appel. Lorsque l’implémentation de l’application de la méthode ITTAPIEventNotification ::Event indique un TAPI_EVENT égal à TE_CALLNOTIFICATION, le paramètre pEvent de la méthode est un pointeur IDispatch pour l’interface ITCallNotificationEvent . Les méthodes de cette interface peuvent être utilisées pour récupérer des informations concernant l’événement de notification d’appel qui s’est produit.

Cette interface sortante est inscrite avec l’objet TAPI pour obtenir toutes les informations sur les appels. Une application doit appeler la méthode ITTAPI ::RegisterCallNotifications sur l’objet TAPI avant d’inscrire cette interface.

Note Vous devez appeler la méthode ITTAPI ::p ut_EventFilter et définir un masque de filtre d’événements qui inclut l’événement TE_CALLNOTIFICATION pour permettre la réception des événements de notification d’appel. Si vous n’appelez pas ITTAPI ::p ut_EventFilter, votre application ne recevra aucun événement. Pour plus d’informations, consultez vue d’ensemble des événements .
 

Héritage

L’interface ITCallNotificationEvent hérite de l’interface IDispatch. ITCallNotificationEvent a également les types de membres suivants :

Méthodes

L’interface ITCallNotificationEvent comporte ces méthodes.

 
ITCallNotificationEvent ::get_Call

La méthode get_Call retourne l’interface ITCallInfo sur laquelle un événement d’appel s’est produit.
ITCallNotificationEvent ::get_CallbackInstance

La méthode get_CallbackInstance obtient un pointeur vers la instance de rappel associée à cet événement. (ITCallNotificationEvent.get_CallbackInstance)
ITCallNotificationEvent ::get_Event

La méthode get_Event retourne une CALL_NOTIFICATION_EVENT description indiquant si l’application possède ou surveille l’appel sur lequel l’événement s’est produit.

Configuration requise

Condition requise Valeur
Plateforme cible Windows
En-tête tapi3if.h (inclure Tapi3.h)

Voir aussi

Call, objet

IDispatch

ITTAPI ::RegisterCallNotifications

ITTAPIEventNotification ::Event

Extrait de code Inscrire des événements

TAPI_EVENT