IDiaDataSource::get_lastError
Retrieves the file name for the last load error.
Syntax
HRESULT get_lastError (
BSTR* pRetVal
);
Parameters
pRetVal
[out] Returns a string that contains the .pdb file name associated with the last load error.
Return Value
Returns the last error code caused by a load operation. Returns E_INVALIDARG
if the pRetVal
parameter is NULL
.
Example
BSTR fileName;
HRESULT errorCode = pSource->get_lastError( &fileName );
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for