This topic has not yet been rated - Rate this topic

IMemoryCacheControl Interface 

This interface provides methods for controlling the size of a cache.


__interface ATL_NO_VTABLE
__declspec(uuid("7634b28b-d819-409d-b96e-fc9f3aba329f"))
IMemoryCacheControl :
   public IUnknown

IMemoryCacheControl provides methods for setting and retrieving constraints on the size and the number of entries in the cache using SetMaxAllowedSize, SetMaxAllowedEntries, GetMaxAllowedSize, and GetMaxAllowedEntries. It also allows all of the content and statistics associated with the cache to be removed in a single call to ResetCache.

This interface is implemented by CBlobCache and CFileCache.

Header: atlcache.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.