Share via


IWMPSettings interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPSettings interface provides methods that get or set the values of Windows Media Player settings.

Inheritance

The IWMPSettings interface inherits from the IDispatch interface. IWMPSettings also has these types of members:

Methods

The IWMPSettings interface has these methods.

 
IWMPSettings::get_autoStart

The get_autoStart method retrieves a value indicating whether the current media item begins playing automatically.
IWMPSettings::get_balance

The get_balance method retrieves the current stereo balance.
IWMPSettings::get_baseURL

The get_baseURL method retrieves the base URL used for relative path resolution with URL script commands that are embedded in digital media content.
IWMPSettings::get_defaultFrame

The get_defaultFrame method retrieves the name of the frame used to display a URL that is received in a ScriptCommand event.
IWMPSettings::get_enableErrorDialogs

The get_enableErrorDialogs method retrieves a value indicating whether error dialog boxes are displayed automatically.
IWMPSettings::get_invokeURLs

The get_invokeURLs method retrieves a value indicating whether URL events should launch a Web browser.
IWMPSettings::get_isAvailable

The get_isAvailable method indicates whether a specified action can be performed.
IWMPSettings::get_mute

The get_mute method retrieves a value indicating whether audio is muted.
IWMPSettings::get_playCount

The get_playCount method retrieves the number of times a media item will play.
IWMPSettings::get_rate

The get_rate method retrieves the current playback rate for video.
IWMPSettings::get_volume

The get_volume method retrieves the current playback volume.
IWMPSettings::getMode

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

The put_autoStart method specifies a value indicating whether the current media item begins playing automatically.
IWMPSettings::put_balance

The put_balance method specifies the current stereo balance.
IWMPSettings::put_baseURL

The put_baseURL method specifies the base URL used for relative path resolution with URL script commands that are embedded in digital media files.
IWMPSettings::put_defaultFrame

The put_defaultFrame method specifies the name of the frame used to display a URL that is received in a ScriptCommand event.
IWMPSettings::put_enableErrorDialogs

The put_enableErrorDialogs method specifies a value indicating whether error dialog boxes are displayed automatically.
IWMPSettings::put_invokeURLs

The put_invokeURLs method specifies a value indicating whether URL events should launch a Web browser.
IWMPSettings::put_mute

The put_mute method specifies a value indicating whether audio is muted.
IWMPSettings::put_playCount

The put_playCount method specifies the number of times a media item will play.
IWMPSettings::put_rate

The put_rate method specifies the current playback rate for video.
IWMPSettings::put_volume

The put_volume method specifies the current playback volume.
IWMPSettings::setMode

The setMode method sets the state of playback options.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

Interfaces