IDiaEnumSymbolsByAddr2::symbolByVAEx

Positions the enumerator by performing a lookup by virtual address (VA).

Syntax

HRESULT symbolByVA (
   BOOL         fPromoteBlockSym,
   ULONGLONG    virtualAddress,
   IDiaSymbol** ppsymbol
);

Parameters

fPromoteBlockSym

[in] Whether or not to enumerate SymTagBlock symbols or promote them to an outer/parent symbol (like SymTagFuncton or SymTagPublicSymbol). If FALSE returns unpromoted SymTagBlock. Otherwise behaves identically to IDiaEnumSymbolsByAddr::symbolByVA

virtualAddress

[in] Virtual address.

ppsymbol

[out] Returns an IDiaSymbol object representing the symbol found.

Return Value

If successful, returns S_OK. Returns S_FALSE if the symbol could not be found. Otherwise, returns an error code.

See also