Share via


IMediaSeeking2::Previous (Compact 7)

3/12/2014

Requests the filter to skip to the previous item in the server-side playlist.

Syntax

HRESULT Previous();

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

Success.

E_NOTIMPL

This pin does not support skipping in a server-side playlist.

E_FAIL

Cannot skip to the previous item. For example, the stream is currently in the first item in the server-side playlist.

Remarks

Use the IMediaSeeking::GetCapabilities method to determine whether this method is enabled. The AM_SEEKING_CanSkipBackwards and AM_SEEKING_CanSkipValid flags will be set when this method can be used.

This method is only supported on server-side playlists.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaSeeking2