Share via


IRTCClient::put_AudioMuted

The put_AudioMuted property sets the mute on the specified audio device. This method sets the mute mode retrieved in IRTCClient::get_AudioMuted.

HRESULT put_AudioMuted(RTC_AUDIO_DEVICEenDevice,
VARIANT_BOOLfMuted);

Parameters

  • enDevice
    [in] The RTC_AUDIO_DEVICE enumeration specifies the audio media type that is set.
  • fMuted
    [in] If VARIANT_TRUE, the method sets the audio mute to on for the specified device.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_CLIENT_NOT_INITIALIZED The client has not been initialized.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.

See Also

IRTCClient, RTC_AUDIO_DEVICE, IRTCClient::get_AudioMuted