Share via


IRTCClient::Volume (Windows Embedded CE 6.0)

1/6/2010

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