ITTAPIObjectEvent2 interface (tapi3if.h)

The ITTAPIObjectEvent2 interface is an extension of the ITTAPIObjectEvent interface. ITTAPIObjectEvent2 exposes an additional method that returns a pointer to an ITPhone interface on the phone object that caused the TAPI object event.

When the application's implementation of the ITTAPIEventNotification::Event method indicates a TAPI_EVENT equal to TE_TAPIOBJECT, the method's pEvent parameter is an IDispatch pointer for the ITTAPIObjectEvent2 interface.

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

Inheritance

The ITTAPIObjectEvent2 interface inherits from the IDispatch interface. ITTAPIObjectEvent2 also has these types of members:

Methods

The ITTAPIObjectEvent2 interface has these methods.

 
ITTAPIObjectEvent2::get_Phone

The get_Phone method returns a pointer to the ITPhone interface on the phone object that caused this TAPI object event to be fired.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)

See also

IDispatch

ITTAPIObjectEvent