IOleCacheControl interface (oleidl.h)

Provides proper maintenance of caches. It maintains the caches by connecting the running object's IDataObject implementation to the cache, allowing the cache to receive notifications from the running object.

Inheritance

The IOleCacheControl interface inherits from the IUnknown interface. IOleCacheControl also has these types of members:

Methods

The IOleCacheControl interface has these methods.

 
IOleCacheControl::OnRun

Notifies the cache that the data source object has entered the running state so that the cache object can establish advise sinks as needed.
IOleCacheControl::OnStop

Notifies the cache that it should terminate any existing advise sinks. No indication is given as to whether a connection actually existed.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header oleidl.h