ITAudioSettings::Set method

[ This method is not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The Set method sets the value of a given audio settings property.

Syntax

HRESULT get_Error(
  [out] HRESULT *phrErrorCode
);

Parameters

Property [in]

Member of the AudioSettingsProperty enum.

lValue [in]

Desired value for the property.

lFlags [in]

Value of the TAPIControlFlags enum indicating how the Property value is to be controlled.

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.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.1
Header
Ipmsp.h
Library
Uuid.lib
DLL
Tapi3.dll

See also

ITAudioSettings

TAPIControlFlags

AudioSettingsProperty