We recommend using Visual Studio 2017

IDiaStackWalkHelper::symbolForVA

 

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 IDiaStackWalkHelper::symbolForVA.

Retrieves the symbol that contains the specified virtual address.

HRESULT symbolForVA(   
   ULONGLONG     va,  
   IDiaSymbol**  ppSymbol  
);  

Parameters

va
[in] The virtual address that is contained in the requested symbol. The symbol must be a SymTagFunctionType (a value from the SymTagEnum Enumeration enumeration).

ppSymbol
[out] An IDiaSymbol object that represents the symbol at the specified address.

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

IDiaStackWalkHelper
IDiaSymbol

Show: