IWMPSettings2 (VB and C#) interface

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

Provides properties and a method that supplement the IWMPSettings interface.

In addition to the properties and methods inherited from IWMPSettings, the IWMPSettings2 interface exposes the following properties.

Members

The IWMPSettings2 (VB and C#) interface has these types of members:

Methods

The IWMPSettings2 (VB and C#) interface has these methods.

Method Description
requestMediaAccessRights Requests a specified level of access to the library.

Properties

The IWMPSettings2 (VB and C#) interface has these properties.

Property Access type Description
defaultAudioLanguage
Read-only
Gets the locale identifier (LCID) of the default audio language.
mediaAccessRights
Read-only
Gets a value indicating the permissions currently granted for library access.

Get an IWMPSettings2 interface by casting the value returned by the AxWindowsMediaPlayer.settings property.

Object Property
AxWindowsMediaPlayer Object settings

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPSettings Interface (VB and C#)