Partager via


IWMPSettings::get_volume (Windows Embedded CE 6.0)

1/6/2010

The get_volume method retrieves the current playback volume.

Syntax

HRESULT get_volume( long* plVolume ); 

Parameters

  • plVolume
    [out]  Pointer to a 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.

See Also

Reference

IWMPSettings Interface