ITBasicAudioTerminal::put_Volume method (tapi3if.h)

The put_Volume method sets the volume.

Syntax

HRESULT put_Volume(
  [in] long lVolume
);

Parameters

[in] lVolume

The volume property is a value between 0 and FFFF, representing a set of logarithmic steps. Not all devices support as many distinguishable steps.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
TAPI_E_NOTERMINALSELECTED
A terminal must be selected before the volume can be adjusted.

Requirements

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

See also

ITBasicAudioTerminal

Terminal Object

get_Volume