コード例 #1
0
 /// <summary>
 /// Changes the playback position of the playing media in any direction by the given amount of video frames. The result can differ from the specified value.
 /// </summary>
 /// <param name="frames">The amount of frames to step (use a negative value to step backwards).</param>
 public int Step(int frames)
 {
     if (!_base._fileMode || !_base._playing)
     {
         _base._lastError = HResult.MF_E_NOT_AVAILABLE;
         return((int)_base._lastError);
     }
     else
     {
         return(_base.Step(frames));
     }
 }