EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

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. You can get a pointer to the OLE data cache object through a call to CreateDataCache.

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 on the running object. Container applications have no need for this interface; they use IRunnableObject or OleRun instead.

Members

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

Methods

The IOleCacheControl interface has these methods.

MethodDescription
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.

OnStop

Notifies the cache that it should terminate any existing advise sinks.

 

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_IOleCacheControl is defined as 00000129-0000-0000-C000-000000000046

 

 

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft