ITAutomatedPhoneControl::put_AutoKeypadTonesMinimumDuration method (tapi3if.h)
The put_AutoKeypadTonesMinimumDuration method sets the value of the AutoKeypadTonesMinimumDuration property. The property specifies how long to play keypad tones on PBS_DOWN.
Syntax
HRESULT put_AutoKeypadTonesMinimumDuration(
[in] long lDuration
);
Parameters
[in] lDuration
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 is valid only if 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 |