Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send Feedback on this topic to the authors