How to Seek During Playback
[MFPlay is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
This topic describes how to seek during playback using MFPlay.
To Seek During Playback
- Initialize a PROPVARIANT to hold the seek time in 100-nanosecond units, as a LARGE_INTEGER (VT_I8) type.
- Call IMFPMediaPlayer::SetPosition. Specify MFP_POSITIONTYPE_100NS for the first parameter, and pass in the PROPVARIANT for the second parameter.
Requirements
MFPlay requires Windows 7.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for