IDiaEnumSymbolsByAddr2::symbolByAddr
Positions the enumerator by performing a lookup by image section number and offset.
Syntax
HRESULT symbolByAddrEx (
BOOL fPromoteBlockSym,
DWORD isect,
DWORD offsect,
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::symbolByAddr
isect
[in] Image section number.
offsect
[in] Offset in section.
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.