IErrorRecordsImpl::GetErrorSource

Gets the source code that caused the error from an error record.

LPOLESTR GetErrorSource(
   ERRORINFO& rCurError 
);

Parameters

  • rCurError
    An ERRORINFO record in an IErrorInfo interface.

Return Value

Pointer to a string containing the source code for the error.

Requirements

Header: atldb.h

See Also

Concepts

IErrorRecordsImpl Class

IErrorRecordsImpl Members