IErrorRecordsImpl::GetErrorSource
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at IErrorRecordsImpl::GetErrorSource.
Gets the source code that caused the error from an error record.
Syntax
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