Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IOleCache::EnumCache method

Creates an enumerator that can be used to enumerate the current cache connections.

Syntax


HRESULT EnumCache(
  [out] IEnumSTATDATA **ppenumSTATDATA
);

Parameters

ppenumSTATDATA [out]

A pointer to an IEnumSTATDATA pointer variable that receives the interface pointer to the new enumerator object. If this parameter is NULL, there are no cache connections at this time.

Return value

This method returns S_OK if enumerator object is successfully instantiated or there are no cache connections.

Note  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 IEnumSTATDATA interface. IEnumSTATDATA enumerates the data stored in an array of STATDATA structures containing information about current cache connections.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleIdl.h

IDL

OleIdl.Idl

IID

IID_IOleCache is defined as 0000011e-0000-0000-C000-000000000046

See also

IEnumSTATDATA
IOleCache
IOleCache::Cache

 

 

Community Additions

ADD
Show:
© 2015 Microsoft