ITAutomatedPhoneControl::get_AutoKeypadTonesMinimumDuration method (tapi3if.h)

The get_AutoKeypadTonesMinimumDuration method retrieves the current value of the AutoKeypadTonesMinimumDuration property. The property specifies how long to play keypad tones on PBS_DOWN.

Syntax

HRESULT get_AutoKeypadTonesMinimumDuration(
  [out] long *plDuration
);

Parameters

[out] plDuration

Minimum duration of keypad tones, in milliseconds (ms). The default value is 250 ms. If the minimum duration elapses without a PBS_UP event, the keypad tone continues until the PBS_UP event is received.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an error value.

Remarks

The AutoKeypadTonesMinimumDuration property functions only when the value of the AutoKeypadTones property is VARIANT_TRUE.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITAutomatedPhoneControl

put_AutoKeypadTones

put_AutoKeypadTonesMinimumDuration