Partager via


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).

  • 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

Reference

IDiaStackWalkHelper

IDiaSymbol