Share via


Windows Media Player 11 SDK IWMPErrorItem::get_errorCodeĀ 

Windows Media Player SDK banner art

Previous Next

IWMPErrorItem::get_errorCode

The get_errorCode method retrieves the current error code.

Syntax

  

Parameters

phr

[out]  Pointer to a long containing the error code.

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