Platform SDK: TAPI

ITLegacyCallMediaControl::GenerateDigits

Causes digits to be output on the current call.

HRESULT GenerateDigits(
  BSTR pDigits,
  TAPI_DIGITMODE DigitMode
);

Parameters

pDigits
[in] Pointer to BSTR representation of digits to be sent.
DigitMode
[in] Indicates digit mode.

Return Values

Value Meaning
S_OK Method succeeded.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
TAPI_E_INVALCALLSTATE No call currently exists.

Remarks

The application must use SysAllocString to allocate memory for the pDigits parameter and use SysFreeString to free the memory when the variable is no longer needed.

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

ITLegacyCallMediaControl, ITLegacyAddressMediaControl