Share via


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

Windows Media Player SDK banner art

Previous Next

IWMPMedia2 Interface (VB and C#)

Provides access to an additional media item property.

In addition to the properties and methods inherited from IWMPMedia, the IWMPMedia2 interface exposes the following property.

Property Description
Error Gets an IWMPErrorItem interface if the media item has an error condition.

Get an IWMPMedia2 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#)

See Also

Previous Next