ITLegacyCallMediaControl2 interface (tapi3if.h)

The ITLegacyCallMediaControl2 interface is an extension of the ITLegacyCallMediaControl interface. ITLegacyCallMediaControl2 provides additional methods, primarily for tone detection and generation.

Inheritance

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

Methods

The ITLegacyCallMediaControl2 interface has these methods.

 
ITLegacyCallMediaControl2::CreateCustomToneObject

The CreateCustomToneObject method creates a custom tone object to use with the GenerateCustomTonesByCollection method.
ITLegacyCallMediaControl2::CreateDetectToneObject

The CreateDetectToneObject method creates a detect tone object to use with the DetectTonesByCollection method.
ITLegacyCallMediaControl2::DetectTones

The DetectTones method enables and disables the detection of inband tones on the call. Each time a specified tone is detected, a message is sent to the application.
ITLegacyCallMediaControl2::DetectTonesByCollection

The DetectTonesByCollection method enables and disables the detection of inband tones on the call. Each time a specified tone is detected, a message is sent to the application.
ITLegacyCallMediaControl2::GatherDigits

The GatherDigits method initiates the gathering of digits on the specified call. The application specifies the maximum number of digits to collect.
ITLegacyCallMediaControl2::GenerateCustomTones

The GenerateCustomTones method generates the specified custom tone.
ITLegacyCallMediaControl2::GenerateCustomTonesByCollection

The GenerateCustomTonesByCollection method generates the specified custom tone.
ITLegacyCallMediaControl2::GenerateDigits2

The GenerateDigits2 method causes digits to be output on the current call. This method extends the ITLegacyCallMediaControl::GenerateDigits method by adding a duration parameter.
ITLegacyCallMediaControl2::GenerateTone

The GenerateTone method generates the specified tone.
ITLegacyCallMediaControl2::GetIDAsVariant

The GetIDAsVariant method gets the identifier for the device associated with the current call.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h

See also

IDispatch

ITLegacyCallMediaControl