Share via


Windows Media Player 11 SDK IWMPControls::fastReverse 

Windows Media Player SDK banner art

Previous Next

IWMPControls::fastReverse

The fastReverse method starts fast play of the media item in the reverse direction.

Syntax

  
    
  

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

The fastReverse method scans the clip in reverse at five times the normal speed, displaying only the key frames if it is a video file. Calling fastReverse is equivalent to specifying -5.0 for the rate through the IWMPSettings::put_rate method. If the rate is subsequently changed, or if IWMPControls::play or IWMPControls::stop is called, Windows Media Player will cease fast reverse.

If the item is part of a playlist, fastReverse stops at the beginning of the current track. For instance, if track 3 is in fastReverse, when the beginning of track 3 is reached, Windows Media Player will not go to track 2. The play count is not incremented when calling fastReverse.

If you call IWMPControls::fastForward while fastReverse is running, fastReverse will be stopped and IWMPControls::fastForward will begin.

This method does not work for live broadcasts and certain digital media types. To determine whether you can use fast reverse in a clip, call the IWMPControls::get_isAvailable method and pass in the BSTR value "FastReverse".

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next