IDiaStackWalkHelper::symbolForVA

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.

See also