Share via


IWMPErrorItem::get_errorCode

Other versions of this page are also available for the following:

8/28/2008

The get_errorCode method retrieves the current error code.

Syntax

HRESULT get_errorCode( long* phr ); 

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.

See Also

Reference

IWMPErrorItem Interface