Share via


IMediaSeeking2::Next (Compact 2013)

3/26/2014

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

Syntax

HRESULT Next();

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 next item. For example, the stream is currently in the last item in the server-side playlist.

Remarks

Use the IMediaSeeking::GetCapabilities method to determine whether this method is enabled. The AM_SEEKING_CanSkipForwards 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