共用方式為


_com_error::ErrorInfo

 

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

Microsoft Specific**

Retrieves the IErrorInfo object passed to the constructor.

Syntax

  
IErrorInfo * ErrorInfo( ) const throw( );  
  

Return Value

Raw IErrorInfo item passed into the constructor.

Remarks

Retrieves the encapsulated IErrorInfo item in a _com_error object, or NULL if no IErrorInfo item is recorded. The caller must call Release on the returned object when finished using it.

END Microsoft Specific

See Also

_com_error Class