IWMPError 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 IWMPError interface provides methods for accessing a collection of IWMPErrorItem pointers.

Inheritance

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

Methods

The IWMPError interface has these methods.

 
IWMPError::clearErrorQueue

The clearErrorQueue method clears the errors from the error queue.
IWMPError::get_errorCount

The get_errorCount method retrieves the number of errors in the error queue.
IWMPError::get_item

The get_item method retrieves a pointer to an IWMPErrorItem interface from the error queue.
IWMPError::webHelp

The webHelp method launches the Windows Media Player Web Help page to display further information about the first error in the error queue (index zero).

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPErrorItem Interface

Interfaces