IEnumSTATDATA

The IEnumSTATDATA interface is used to enumerate through an array of STATDATA structures which contain advisory connection information for a data object. IEnumSTATDATA shares the same methods as all enumerator interfaces: Next, Skip, Reset, and Clone.

IEnumSTATDATA is implemented to enumerate advisory connections. Containers usually call methods that return a pointer to IEnumSTATDATA so the container can instruct an object to release each of its advisory connections prior to closing down. Calls to IDataObject::EnumDAdvise, IDataAdviseHolder::EnumAdvise, and IOleCache::EnumCache methods all return a pointer to IEnumSTATDATA.

The prototypes of the member functions are as follows:

HRESULT Next(ULONG celt, STATDATA * rgelt, ULONG * pceltFetched)

HRESULT Skip(ULONG celt)

HRESULT Reset(void)

HRESULT Clone(IEnumSTATDATA ** ppenum)

See Also

STATDATA, IEnumXXXX
, IOleCache::EnumCache, IDataObject::EnumDAdvise, IDataAdviseHolder::EnumAdvise, IOleObject::EnumAdvise

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples