com.jniwrapper.win32.ole
Interface IOleCache

All Superinterfaces:
AutoDeleteParameter, IUnknown
All Known Implementing Classes:
IOleCacheImpl

public interface IOleCache
extends IUnknown

This interface supports cached presentations data of an object.

See Also:
Microsoft COM SDK documentation

Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Method Summary
 Int32 cache(FormatEtc pformatetc, AdviceFlags advf)
           
 IEnumStatData enumCache()
           
 void initCache(IDataObject pDataObject)
           
 void setData(FormatEtc pformatetc, StgMedium pmedium, VariantBool fRelease)
           
 void uncache(Int32 dwConnection)
           
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Method Detail

cache

public Int32 cache(FormatEtc pformatetc,
                   AdviceFlags advf)
            throws ComException
Parameters:
pformatetc - [in]
advf - [in]
Throws:
ComException

uncache

public void uncache(Int32 dwConnection)
             throws ComException
Parameters:
dwConnection - [in]
Throws:
ComException

enumCache

public IEnumStatData enumCache()
                        throws ComException
Throws:
ComException

initCache

public void initCache(IDataObject pDataObject)
               throws ComException
Parameters:
pDataObject - [in]
Throws:
ComException

setData

public void setData(FormatEtc pformatetc,
                    StgMedium pmedium,
                    VariantBool fRelease)
             throws ComException
Parameters:
pformatetc - [in]
pmedium - [in]
fRelease - [in]
Throws:
ComException