IDebugSymbolSearchEvent2::GetSymbolSearchInfo

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Called by an event handler to retrieve results about a symbol load process.

Syntax

HRESULT GetSymbolSearchInfo(  
   IDebugModule3**    pModule,  
   BSTR*              pbstrDebugMessage,  
   MODULE_INFO_FLAGS* pdwModuleInfoFlags  
);  
int GetSymbolSearchInfo(  
   IDebugModule3              pModule,   
   ref string                 pbstrDebugMessage,   
   out enum_MODULE_INFO_FLAGS pdwModuleInfoFlags  
);  
  

Parameters

pModule
[out] An IDebugModule3 object representing the module for which the symbols were loaded.

pbstrDebugMessage
[in, out] Returns a string containing any error messages from the module. If there is no error, then this string will just contain the module's name but it is never empty.

Note

[C++] pbstrDebugMessage cannot be NULL and must be freed with SysFreeString.

pdwModuleInfoFlags
[out] A combination of flags from the MODULE_INFO_FLAGS enumeration indicating whether any symbols were loaded.

Return Value

If successful, returns S_OK; otherwise returns an error code.

Remarks

When a handler receives the IDebugSymbolSearchEvent2 event after an attempt is made to load debugging symbols for a module, the handler can call thismethod to determine the results of that load.

See Also

IDebugModule3
MODULE_INFO_FLAGS
IDebugSymbolSearchEvent2