Share via


Windows Media Player 11 SDK IWMPErrorItem::get_errorDescription 

Windows Media Player SDK banner art

Previous Next

IWMPErrorItem::get_errorDescription

The get_errorDescription method retrieves a description of the error.

Syntax

  

Parameters

pbstrDescription

[out]  Pointer to a BSTR containing the description.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

You should set a VARIANT_BOOL to FALSE and pass it into IWMPSettings::put_enableErrorDialogs if you choose to display custom error messages.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next