다음을 통해 공유


IWMPMedia2 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 IWMPMedia2 interface provides a method that supplements the IWMPMedia interface.

Inheritance

The IWMPMedia2 interface inherits from IWMPMedia. IWMPMedia2 also has these types of members:

Methods

The IWMPMedia2 interface has these methods.

 
IWMPMedia2::get_error

The get_error method retrieves a pointer to an IWMPErrorItem interface if the media item has an error condition.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPMedia Interface

Interfaces