com.jniwrapper.win32.com
Interface IPersistStorage

All Superinterfaces:
AutoDeleteParameter, IPersist, IUnknown
All Known Implementing Classes:
IPersistStorageImpl

public interface IPersistStorage
extends IPersist

This interface defines methods that enable a container application to pass a storage object to one of its contained objects and to load and save the storage object.

See Also:
Microsoft COM SDK documentation

Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Method Summary
 void handsOffStorage()
           
 void initNew(IStorage pStg)
           
 Int32 isDirty()
           
 void load(IStorage pStg)
           
 void save(IStorage pStgSave, VariantBool fSameAsLoad)
           
 void saveCompleted(IStorage pStgNew)
           
 
Methods inherited from interface com.jniwrapper.win32.com.IPersist
getClassID
 
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

isDirty

public Int32 isDirty()

initNew

public void initNew(IStorage pStg)
             throws ComException
Parameters:
pStg - [in]
Throws:
ComException

load

public void load(IStorage pStg)
          throws ComException
Parameters:
pStg - [in]
Throws:
ComException

save

public void save(IStorage pStgSave,
                 VariantBool fSameAsLoad)
          throws ComException
Parameters:
pStgSave - [in]
fSameAsLoad - [in]
Throws:
ComException

saveCompleted

public void saveCompleted(IStorage pStgNew)
                   throws ComException
Parameters:
pStgNew - [in]
Throws:
ComException

handsOffStorage

public void handsOffStorage()
                     throws ComException
Throws:
ComException