Platform SDK: TAPI

ITBasicAudioTerminal::put_Volume

Sets the volume.

HRESULT put_Volume(
  long lVolume
);

Parameters

lVolume
[in] 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 Values

Value Meaning
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

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITBasicAudioTerminal, get_Volume, Terminal Object