共用方式為


_com_error::Error

 

The latest version of this topic can be found at _com_error::Error.

Microsoft Specific**

Retrieves the HRESULT passed to the constructor.

Syntax

  
HRESULT Error( ) const throw( );  
  

Return Value

Raw HRESULT item passed into the constructor.

Remarks

Retrieves the encapsulated HRESULT item in a _com_error object.

END Microsoft Specific

See Also

_com_error Class