Partager via


IWMPErrorItem::get_errorCode (Windows Embedded CE 6.0)

1/6/2010

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