Share via


IRTCClient::Volume

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets or gets the volume on an audio device.

Syntax

HRESULT put_Volume(
  RTC_AUDIO_DEVICE enDevice,
  long lVolume
);
HRESULT get_Volume(
  RTC_AUDIO_DEVICE enDevice,
  long* plVolume
);

Parameters

  • enDevice
    [in] An RTC_AUDIO_DEVICE enumeration value specifying the audio media type.
  • lVolume, plVolume
    [in, out] The volume level.

    The valid volume range is 0x0000 to 0xFFFF.

Return Value

This method can return an RTC_E_ constant.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCClient
RTC_AUDIO_DEVICE