Partager via


IWMPControls::next (Windows Embedded CE 6.0)

1/6/2010

The next method sets the next item in the playlist as the current item.

Syntax

HRESULT next(); 

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

If the playlist is on the last entry when next is invoked, the first entry in the playlist will become the current one.

For server-side playlists, this method skips to the next item in the server-side playlist, not the client playlist.

The next method does not work for live broadcasts and certain media types. To determine whether you can use it in a clip, call the IWMPControls::get_isAvailable method and pass in the BSTR value "next".

See Also

Reference

IWMPControls Interface