Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 2.34 KB

nf-mfplay-imfpmediaplayer-getvolume.md

File metadata and controls

75 lines (59 loc) · 2.34 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfplay.IMFPMediaPlayer.GetVolume
IMFPMediaPlayer::GetVolume (mfplay.h)
Gets the current audio volume.
GetVolume
GetVolume method [Media Foundation]
GetVolume method [Media Foundation]
IMFPMediaPlayer interface
IMFPMediaPlayer interface [Media Foundation]
GetVolume method
IMFPMediaPlayer.GetVolume
IMFPMediaPlayer::GetVolume
mf.imfpmediaplayer_getvolume
mfplay/IMFPMediaPlayer::GetVolume
mf\imfpmediaplayer_getvolume.htm
mf
08bf0bb3-4ee2-4229-9f41-64924c6122c9
12/05/2018
GetVolume, GetVolume method [Media Foundation], GetVolume method [Media Foundation],IMFPMediaPlayer interface, IMFPMediaPlayer interface [Media Foundation],GetVolume method, IMFPMediaPlayer.GetVolume, IMFPMediaPlayer::GetVolume, mf.imfpmediaplayer_getvolume, mfplay/IMFPMediaPlayer::GetVolume
mfplay.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IMFPMediaPlayer::GetVolume
mfplay/IMFPMediaPlayer::GetVolume
c++
APIRef
kbSyntax
COM
mfplay.h
IMFPMediaPlayer.GetVolume

IMFPMediaPlayer::GetVolume

-description

Important  Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
 

Gets the current audio volume.

-parameters

-param pflVolume [out]

Receives the audio volume. Volume is expressed as an attenuation level, where 0.0 indicates silence and 1.0 indicates full volume (no attenuation).

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IMFPMediaPlayer

Using MFPlay for Audio/Video Playback