IMemoryCacheControl Interface
Visual Studio 2005
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.
See the BlobCache Sample.