Share via


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

Windows Media Player SDK banner art

Previous Next

IWMPSettings Interface (VB and C#)

Provides properties and methods that get or set the values of Windows Media Player settings.

The IWMPSettings interface exposes the following properties.

Property Description
autoStart Gets or sets a value indicating whether the current media item begins playing automatically.
balance Gets or sets the current stereo balance.
baseURL Gets or sets the base URL used for relative path resolution with URL script commands that are embedded in digital media content.
defaultFrame Gets or sets the name of the frame used to display a URL that is received in a scriptCommand event.
enableErrorDialogs Gets or sets a value indicating whether error dialog boxes are displayed automatically.
invokeURLs Gets or sets a value indicating whether URL events should launch a Web browser.
isAvailable Gets a value indicating whether a specified action can be performed. In C#, this is the get_isAvailable method.
mute Gets or sets a value indicating whether audio is muted.
playCount Gets or sets the number of times a media item will play.
rate Gets or sets the current playback rate for video.
volume Gets or sets the current playback volume.

The IWMPSettings interface exposes the following methods.

Method Description
getMode Returns a value indicating whether loop mode or shuffle mode is active.
setMode Sets the loop mode or shuffle mode to active or inactive.

Get an IWMPSettings interface by using the following property.

Object Property
AxWindowsMediaPlayer settings

See Also

Previous Next