|
IOleCache
The IOleCache interface provides control of the presentation data that gets cached inside
of an object. Cached presentation data is available to the container of the
object even when server application is not running or is unavailable.
When to Implement
The IOleCache interface can be implemented by an object handler and an in-process server.
However, you typically use or aggregate the OLE-provided implementation.
When to Use
The OLE-provided implementation creates a class node for each aspect and
format of the data that it stores. In addition to the presentation data, the class
node holds the sink pointer for the advisory connection and manages the sending
of view notifications to the advise sink.
Methods in VTable Order
IUnknown Methods
| Description
| QueryInterface
| Returns pointers to supported interfaces.
| AddRef
| Increments the reference count.
| Release
| Decrements the reference count.
|
IOleCache Methods
| Description
| Cache
| Adds a presentation to the data or view cache.
| Uncache
| Removes a presentation previously added with IOleCache::Cache.
| EnumCache
| Returns an object to enumerate the current cache connections.
| InitCache
| Fills the cache with all the presentation data from the data object.
| SetData
| Fills the cache with specified format of presentation data.
|
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|