ITCallHubEvent interface (tapi3if.h)

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

Note  You must call the ITTAPI::put_EventFilter method and set an event filter mask that includes the TE_CALLHUB event to enable reception of CallHub 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 ITCallHubEvent interface inherits from the IDispatch interface. ITCallHubEvent also has these types of members:

Methods

The ITCallHubEvent interface has these methods.

 
ITCallHubEvent::get_Call

The get_Call method returns a pointer to the ITCallInfo interface of the call on which the event occurred. (ITCallHubEvent.get_Call)
ITCallHubEvent::get_CallHub

The get_CallHub method returns a pointer to the ITCallHub interface on which the event occurred. (ITCallHubEvent.get_CallHub)
ITCallHubEvent::get_Event

The get_Event method returns a pointer to a CALLHUB_EVENT enum description of the event that occurred.

Requirements

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

See also

CALLHUB_EVENT

CallHub Object

IDispatch

ITCallHub

ITCallInfo

ITTAPIEventNotification::Event

Register Events code snippet

TAPI_EVENT