IOleCache::EnumCache  1LZE.4N

Returns a pointer to an enumeration object that can be used to enumerate the current cache connections.

HRESULT EnumCache(

    IEnumSTATDATA ** ppenumSTATDATA

//Indirect pointer to enumerator object

   );

 

 

Parameter

ppenumSTATDATA

[out] Indirect pointer to the IEnumSTATDATA interface on the new enumerator object. If this value is NULL, there are currently no cache connections at this time.

 

Return Values

This method supports the standard return value E_OUTOFMEMORY, as well as the following:

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.

 

Remarks

The enumerator object returned by this method implements the IEnumSTATDATAYCAP6P 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 STATDATA1MGEJJQ structures containing information about current cache connections.

See Also

IEnum, IEnumSTATDATA, IOleCache::Cache