Partager via


IWMPErrorItem 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 IWMPErrorItem interface provides a way to access error information.

Inheritance

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

Methods

The IWMPErrorItem interface has these methods.

 
IWMPErrorItem::get_customUrl

The get_customUrl method retrieves the URL of a website that displays specific information about codec download failure.
IWMPErrorItem::get_errorCode

The get_errorCode method retrieves the current error code.
IWMPErrorItem::get_errorContext

The get_errorContext method retrieves a value indicating the context of the error.
IWMPErrorItem::get_errorDescription

The get_errorDescription method retrieves a description of the error.
IWMPErrorItem::get_remedy

Reserved for future use.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPErrorItem2 Interface

Interfaces