Compartir a través de


IWMPMedia3 (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 additional methods to access the properties of a media item.

Members

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

Methods

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

Method Description
getAttributeCountByType Returns the number of attributes associated with the specified attribute type.
getItemInfoByType Returns the value of the attribute corresponding to the specified attribute type and index.

Get an IWMPMedia3 interface by casting the value returned by one of the following properties or methods accessed through the following object or interface.

Object or interface Property or method
IWMPControls currentItem
AxWindowsMediaPlayer currentMedia , newMedia
IWMPPlaylist Item ( get_Item in C#)

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPMedia Interface (VB and C#)

IWMPMedia2 Interface (VB and C#)