Platform SDK: TAPI

ITCallNotificationEvent

The ITCallNotificationEvent interface contains methods that retrieve the description of call notification events. When the application's implementation of the ITTAPIEventNotification::Event method indicates a TAPI_EVENT equal to TE_CALLNOTIFICATION, the method's pEvent parameter is an IDispatch pointer for the ITCallNotificationEvent interface. The methods of this interface can be used to retrieve information concerning the call notification event that has occurred.

This outgoing interface is registered with the TAPI object to get all information about calls. An application must call the ITTAPI::RegisterCallNotifications method on the TAPI object before registering this interface.

Note  You must call the ITTAPI::put_EventFilter method and set an event filter mask that includes the TE_CALLNOTIFICATION event to enable reception of call notification events. If you do not call ITTAPI::put_EventFilter, your application will not receive any events. For more information, see the Events overview.

Methods in Vtable Order

IUnknown Methods

IDispatch Methods

ITCallNotificationEvent methods Description
get_Call Gets a pointer to the ITCallInfo interface.
get_Event Gets a CALL_NOTIFICATION_EVENT descriptor of the event.
get_CallbackInstance Gets the callback instance associated with the event.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITTAPI::RegisterCallNotifications, ITTAPIEventNotification::Event, TAPI_EVENT, Call Object