Share via


Windows Media Player 11 SDK IWMPSettings.setMode (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPSettings.setMode (VB and C#)

The setMode method sets the loop mode or shuffle mode to active or inactive.

  

Parameters

bstrMode

A System.String that is the name of the mode being changed, containing one of the following values.

Value Description
autoRewind Tracks are restarted from the beginning after playing to the end.
loop The sequence of tracks repeats itself.
showFrame The nearest key frame is displayed when not playing. This mode is not relevant for audio tracks.
shuffle Tracks are played in random order.

varfMode

A System.Boolean value specifying whether the new specified mode is active.

Return Value

This method does not return a value.

Remarks

When the showFrame mode is active, Windows Media Player must access the track content to retrieve the video frame. Use this mode cautiously when playing content that is not local.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: WMPLib

Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next