Platform SDK: TAPI

ITDigitGenerationEvent

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.0 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.

Methods in Vtable Order

IUnknown Methods

IDispatch Methods

ITDigitGenerationEvent methods Description
get_Call Gets an ITCallInfo interface pointer.
get_GenerationTermination Gets the digit or digits that indicate the end of the generated digit series.
get_TickCount Gets the "tick count" (number of milliseconds since Windows started) at which the digit-gathering completed.
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

Events, ITTAPIEventNotification, ITTAPI::RegisterCallNotifications