Partager via


IRTCParticipant3::put_Volume (Windows Embedded CE 6.0)

1/6/2010

This method will allow an application to set the volume for the particular participant.

Syntax

HRESULT put_Volume(
  RTC_AUDIO_DEVICE enDevice,
  long lVolume
);

Parameters

  • enDevice
    [in] The RTC_AUDIO_DEVICE enumeration that specifies which audio media to set.
  • lVolume
    [in] The volume level that is set. The valid range for volume is 0X0000 - 0XFFFF.

Return Value

This method can return an RTC_E_ constant.

Remarks

This method has the following characteristics.

  • The method only works when it is in a call.
  • Volume changes from one call may or may not persist to another call.
  • Volume may be affected when running multiple calls at one time. For example, one call may have a different volume when swapping calls. The volume may also change when you remove a call from hold.

Requirements

Header rtccore.idl
Library uuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

IRTCParticipant3