MFPlayer2 Sample
Important Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
Demonstrates some of the playback features that are omitted from the SimplePlay sample, such as:
- Seeking
- Rate control (fast forward and rewind)
- Audio volume and mute controls
- Video zoom

APIs Demonstrated
This sample demonstrates the following APIs.
- IAudioSessionControl
- IAudioSessionManager
- IMFPMediaItem
- IMFPMediaPlayer
- IMFPMediaPlayerCallback
- IMMDevice
- IMMDeviceEnumerator
- ISimpleAudioVolume
Requirements
| Product | Version |
|---|---|
| Windows SDK | Windows 7 |
| Microsoft Windows | Windows 7 |
Downloading the Sample
This sample is available in the following locations.
| Location | Path/URL |
|---|---|
| Windows SDK | SDK Root\Samples\multimedia\mediafoundation\MFPlayer2 |
| MSDN Code Gallery | Download from MSDN Code Gallery |
Related topics
Send comments about this topic to Microsoft
Build date: 3/6/2012