|
IOleCacheControl
The IOleCacheControl interface 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.
When to Implement
The OLE-provided implementation is used by most handlers and in process
servers.
When to Use
Object handlers and in process servers use this interface internally to
connect the cache part of the handler to the IDataObject implementation of the running object. Container applications have no need for
this interface; they use IRunnableObject or OleRun instead.
Methods in VTable Order
IUnknown Methods
| Description
| QueryInterface
| Returns pointers to supported interfaces.
| AddRef
| Increments the reference count.
| Release
| Decrements the reference count.
|
IOleCacheControl Methods
| Description
| OnRun
| Notifies the cache when the data object is running so the cache object can
establish advise sinks as needed.
| OnStop
| Notifies the cache to terminate any existing advise sinks.
|
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|