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

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

isDirty

Int32 isDirty()

initNew

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

load

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

save

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

saveCompleted

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

handsOffStorage

void handsOffStorage()
                     throws ComException
Throws:
ComException