Windows Media Player 11 SDK IWMPSettings::put_volumeĀ
Previous | Next |
IWMPSettings::put_volume
The put_volume method specifies the current playback volume.
Syntax
Parameters
lVolume
[in] long containing the volume level ranging from 0 to 100.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
Remarks
A value of zero specifies no volume (muted). A value of 100 specifies full volume. If no value is specified for this property, it defaults to the last volume setting established for Windows Media Player.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
Previous | Next |