IDiaEnumSymbolsByAddr2::PrevEx

Retrieves the previous symbols in order by address.

Syntax

HRESULT PrevEx (
   BOOL         fPromoteBlockSym,
   ULONG        celt,
   IDiaSymbol** rgelt,
   ULONG*       pceltFetched
);

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::Prev

celt

[in] The number of symbols in the enumerator to be retrieved.

rgelt

[out] An array that is to be filled in with IDiaSymbol objects that represent the desired symbols.

pceltFetched

[out] Returns the number of symbols in the fetched enumerator.

Return Value

If successful, returns S_OK. Returns S_FALSE if there are no previous symbols. Otherwise, returns an error code.

Remarks

This method updates the enumerator position by the number of elements fetched.

See also