Skip to content

Latest commit

 

History

History
125 lines (103 loc) · 3.62 KB

nf-tapi3if-itlegacycallmediacontrol2-generatedigits2.md

File metadata and controls

125 lines (103 loc) · 3.62 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tapi3if.ITLegacyCallMediaControl2.GenerateDigits2
ITLegacyCallMediaControl2::GenerateDigits2 (tapi3if.h)
The GenerateDigits2 method causes digits to be output on the current call. This method extends the ITLegacyCallMediaControl::GenerateDigits method by adding a duration parameter.
GenerateDigits2
GenerateDigits2 method [TAPI 2.2]
GenerateDigits2 method [TAPI 2.2]
ITLegacyCallMediaControl2 interface
ITLegacyCallMediaControl2 interface [TAPI 2.2]
GenerateDigits2 method
ITLegacyCallMediaControl2.GenerateDigits2
ITLegacyCallMediaControl2::GenerateDigits2
_tapi3_itlegacycallmediacontrol2_generatedigits2
tapi3.itlegacycallmediacontrol2_generatedigits2
tapi3if/ITLegacyCallMediaControl2::GenerateDigits2
tapi3\itlegacycallmediacontrol2_generatedigits2.htm
tapi3
63ea18ef-18ca-4771-a7d9-60d4e8c514a5
12/05/2018
GenerateDigits2, GenerateDigits2 method [TAPI 2.2], GenerateDigits2 method [TAPI 2.2],ITLegacyCallMediaControl2 interface, ITLegacyCallMediaControl2 interface [TAPI 2.2],GenerateDigits2 method, ITLegacyCallMediaControl2.GenerateDigits2, ITLegacyCallMediaControl2::GenerateDigits2, _tapi3_itlegacycallmediacontrol2_generatedigits2, tapi3.itlegacycallmediacontrol2_generatedigits2, tapi3if/ITLegacyCallMediaControl2::GenerateDigits2
tapi3if.h
Windows
Uuid.lib
Tapi3.dll
Windows
19H1
ITLegacyCallMediaControl2::GenerateDigits2
tapi3if/ITLegacyCallMediaControl2::GenerateDigits2
c++
APIRef
kbSyntax
COM
Tapi3.dll
ITLegacyCallMediaControl2.GenerateDigits2

ITLegacyCallMediaControl2::GenerateDigits2

-description

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

-parameters

-param pDigits [in]

A pointer to a BSTR representation of the digits to generate.

-param DigitMode [in]

Indicates the digit mode. Valid values are those from the TAPI 2.x LINEDIGITMODE_constants.

-param lDuration [in]

Both the duration, in milliseconds, of DTMF digits and pulse, and DTMF interdigit spacing.

-returns

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_POINTER
The pDigits parameter is not a valid pointer.
TAPI_E_INVALCALLSTATE
The call must be in the connected state.

-remarks

This method translates to a call to the TAPI 2.x lineGenerateDigits function.

When digit generation finishes, an event of type TE_GENERATEEVENT is generated.

-see-also

ITLegacyCallMediaControl2