[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]
Retrieves the file name for the last load error.
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 );