Returns a pointer to an enumeration object that can be used to enumerate the current cache connections.
HRESULT EnumCache(
IEnumSTATDATA ** ppenumSTATDATA //Address of output variable that
// receives the IEnumSTATDATA
// interface pointer
);
This method supports the standard return value E_OUTOFMEMORY, as well as the following:
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.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.
IEnumXXXX, IEnumSTATDATA, IOleCache::Cache