Compartir a través de


IWMPErrorItem (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 access to error information.

The IWMPErrorItem interface exposes the following properties.

Property Description
customUrl Gets the URL of a website that displays specific information about codec download failure.
errorCode Gets the current error code.
errorContext Gets a value indicating the context of the error.
errorDescription Gets a description of the error.
remedy Reserved for future use.

Get an IWMPErrorItem interface using the following property.

Interface Property
IWMPError Item (in C# use the get_Item method)

Members

The IWMPErrorItem (VB and C#) interface does not define any members.

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPErrorItem2 Interface (VB and C#)