IDiaEnumSymbolsByAddr2::symbolByRVAEx

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

Syntax

HRESULT symbolByRVAEx (
   BOOL         fPromoteBlockSym,
   DWORD        relativeVirtualAddress,
   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::symbolByRVA

relativeVirtualAddress

[in] Address relative to start of image.

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