|
IOleCache::EnumCache
Returns an object that can be used to enumerate the current cache connections.
HRESULT EnumCache(
IEnumSTATDATA ** ppenumSTATDATA
| //Location for IEnumSTATDATA
| );
|
|
Parameter
ppenumSTATDATA
[out]Points to the location where the new enumerator object should be
returned. If this value is NULL, there are currently no cache connections at this time.
Return Values
S_OK
The enumerator object is successfully instantiated or there are no cache
connections. Check the ppenumSTATDATA parameter to determine which result occurred. If the ppenumSTATDATA parameter is NULL, then there are no cache connections at this time.
E_OUTOFMEMORY
The cache enumerator could not be instantiated due to lack of memory.
Comments
The enumerator object returned by this method implements the IEnumSTATDATA interface, one of the standard enumerator interfaces that contain the Next, Reset, Clone, and Skip methods. IEnumSTATDATA enumerates the data stored in an array of STATDATA structures containing information about current cache connections.
See Also
IEnumXXXX, IEnumSTATDATA, IOleCache::Cache
Related LinksSoftware 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
|