IDispError::GetHresult

Retrieves the error code from the IDispError object.

Syntax

HRESULT GetHresult(  
   HRESULT*  phr  
);  

Parameters

phr
[out] Specifies the error code.

Return Value

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

Value Description
S_OK The method succeeded.

Remarks

This method retrieves the error code from the IDispError object.

Note

This method is not implemented.

See also

IDispError Interface