Fills the cache as needed using the data provided by the specified data
| IDataObject * pDataObject
||//Points to the data object from which the cache is initialized
[in]Points to the data object from which the cache is to be initialized.
The cache was filled using the data provided.
The value for pDataObject
is not valid.
The cache could not be initialized due to lack of memory.
The cache is not running.
None of the caches were updated.
Only some of the existing caches were updated.
IOleCache::InitCache is usually used when creating an object from a drag-and-drop operation or from
a clipboard paste operation. It fills the cache as needed with presentation
data from all the data formats provided by the data object provided on the
clipboard or in the drag-and-drop operation. Helper functions like OleCreateFromData
call this method when needed. If a container does not use these helper
functions to create compound document objects, it can use IOleCache::Cache
to set up the cache entries which are then filled by IOleCache::InitCache
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages