ITDigitGenerationEvent interface (tapi3if.h)

The ITDigitGenerationEvent interface contains methods that describe digit generation events. When the application's implementation of the ITTAPIEventNotification::Event method indicates a TAPI_EVENT equal to TE_GENERATEEVENT, the method's pEvent parameter is an IDispatch pointer for the ITDigitGenerationEvent interface. The methods of this interface can be used to report on calls that require the generation of DTMF digits. This interface is implemented by the application and called by the TAPI 3 DLL.

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

Methods

The ITDigitGenerationEvent interface has these methods.

 
ITDigitGenerationEvent::get_Call

The get_Call method returns an ITCallInfo interface pointer for the call on which the event is required.
ITDigitGenerationEvent::get_CallbackInstance

The get_CallbackInstance method gets a pointer to the callback instance associated with the event. (ITDigitGenerationEvent.get_CallbackInstance)
ITDigitGenerationEvent::get_GenerationTermination

The get_GenerationTermination method gets the digit or digits that indicate the end of the generated digit series.
ITDigitGenerationEvent::get_TickCount

The get_TickCount method gets the "tick count" (number of milliseconds since Windows started) at which the digit generation completed.

Requirements

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

See also

Events

IDispatch

ITTAPI::RegisterCallNotifications

ITTAPIEventNotification

Register Events code snippet