Partager via


IWMPControls::previous (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT previous(); 

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 first entry when previous is invoked, the last entry in the playlist will become the current one.

The previous 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 "previous".

See Also

Reference

IWMPControls Interface