Compartilhar via


IRTCClient::PreferredVolume (Windows CE 5.0)

Send Feedback

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

HRESULT put_PreferredVolume(RTC_AUDIO_DEVICEenDevice,longlVolume);HRESULT get_PreferredVolume(RTC_AUDIO_DEVICEenDevice,long* plVolume);

Parameters

  • enDevice
    [in] An RTC_AUDIO_DEVICE enumeration value specifying the audio media type for the volume.

  • lVolume, plVolume
    [in, out] Current volume setting.

    The valid volume range is 0x0000 to 0xFFFF.

Return Values

This method can return an RTC_E_ constant.

Remarks

The preferred volume value persists for each user even after the application is shut down.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClient | RTC_AUDIO_DEVICE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.