Exemplo n.º 1
0
 /// <summary>
 /// Rewinds the playback position of the playing media to its (adjustable) start time. See also: Player.Media.StartTime.
 /// </summary>
 public int Rewind()
 {
     if (!_base._fileMode || !_base._playing)
     {
         _base._lastError = HResult.MF_E_NOT_AVAILABLE;
     }
     else
     {
         _base.SetPosition(_base._startTime);
     }
     return((int)_base._lastError);
 }