共用方式為


_com_error::ErrorInfo

Microsoft Specific

Retrieves the IErrorInfo object passed to the constructor.

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

Concepts

_com_error Class