Share via


Windows Media Player 11 SDK IWMPSettings::getModeĀ 

Windows Media Player SDK banner art

Previous Next

IWMPSettings::getMode

The getMode method determines whether the loop mode or shuffle mode is active.

Syntax

  

Parameters

bstrMode

[in]  BSTR 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.

pvarfMode

[out]  Pointer to a VARIANT_BOOL indicating whether the specified mode is active.

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.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next