ITAutomatedPhoneControl::put_AutoVolumeControlRepeatPeriod method (tapi3if.h)

The put_AutoVolumeControlRepeatPeriod method sets the AutoVolumeControlRepeatPeriod property. The property controls the period, in milliseconds (ms), of button repeats when a volume button is held down.

Syntax

HRESULT put_AutoVolumeControlRepeatPeriod(
  [in] long lPeriod
);

Parameters

[in] lPeriod

Period, in milliseconds (ms), of button repeats when a volume button is held down. The default value is 100 ms.

Return value

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

Remarks

The AutoVolumeControlRepeatDelay 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

See also

ITAutomatedPhoneControl

get_AutoVolumeControlRepeatPeriod

put_AutoKeypadTones