IDiaStackWalkHelper::symbolForVA
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 the symbol that contains the specified virtual address.
Syntax
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.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.