共用方式為


IDiaSession::getSymbolsByAddr

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

Retrieves an enumerator that finds symbols in the order of their addresses.

Syntax

HRESULT getSymbolsByAddr(   
   IDiaEnumSymbolsByAddr** ppEnumbyAddr  
);  

Parameters

ppEnumbyAddr
[out] Returns an IDiaEnumSymbolsByAddr object. Use this interface to search for symbols in the symbol store by memory location.

Return Value

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

See Also

IDiaSession
IDiaEnumSymbolsByAddr