Index   Commented   Search   About

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

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun