com.jniwrapper.win32.stg
Interface IStorage
- All Superinterfaces:
- AutoDeleteParameter, IUnknown
- All Known Implementing Classes:
- IStorageImpl
public interface IStorage
- extends IUnknown
This interface is used for management of structured storage objects.
- See Also:
- Microsoft
Structured Storage documentation
Method Summary |
void |
commit(StgCommit grfCommitFlags)
|
void |
copyTo(UInt32 ciidExclude,
ComplexArray rgiidExclude,
SNB snbExclude,
IStorage pstgDest)
|
IStorage |
createStorage(OleStr pwcsName,
StgMode grfMode,
UInt32 reserved1,
UInt32 reserved2)
|
IStream |
createStream(OleStr pwcsName,
StgMode grfMode,
UInt32 reserved1,
UInt32 reserved2)
|
void |
destroyElement(OleStr pwcsName)
|
IEnumStatStg |
enumElements(UInt32 reserved1,
Pointer.Void reserved2,
UInt32 reserved3)
|
void |
moveElementTo(OleStr pwcsName,
IStorage pstgDest,
OleStr pwcsNewName,
StgMode grfFlags)
|
IStorage |
openStorage(OleStr pwcsName,
IStorage pStgPriority,
StgMode grfMode,
SNB snbExclude,
UInt32 reserved)
|
IStream |
openStream(OleStr pwcsName,
Pointer.Void reserved1,
StgMode grfMode,
UInt32 reserved2)
|
void |
renameElement(OleStr pwcsName,
OleStr pwcsNewName)
|
void |
revert()
|
void |
setClass(CLSID clsid)
|
void |
setElementTimes(OleStr pwcsName,
FileTime pctime,
FileTime patime,
FileTime pmtime)
|
void |
setStateBits(UInt32 grfStateBits,
UInt32 grfMask)
|
StatStg |
stat(StatFlag grfStatFlag)
|
INTERFACE_IDENTIFIER
static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
createStream
IStream createStream(OleStr pwcsName,
StgMode grfMode,
UInt32 reserved1,
UInt32 reserved2)
throws ComException
- Parameters:
pwcsName
- [in]
grfMode
- [in]
reserved1
- [in]
reserved2
- [in]
- Throws:
ComException
openStream
IStream openStream(OleStr pwcsName,
Pointer.Void reserved1,
StgMode grfMode,
UInt32 reserved2)
throws ComException
- Parameters:
pwcsName
- [in]
reserved1
- [in]
grfMode
- [in]
reserved2
- [in]
- Throws:
ComException
createStorage
IStorage createStorage(OleStr pwcsName,
StgMode grfMode,
UInt32 reserved1,
UInt32 reserved2)
throws ComException
- Parameters:
pwcsName
- [in]
grfMode
- [in]
reserved1
- [in]
reserved2
- [in]
- Throws:
ComException
openStorage
IStorage openStorage(OleStr pwcsName,
IStorage pStgPriority,
StgMode grfMode,
SNB snbExclude,
UInt32 reserved)
throws ComException
- Parameters:
pwcsName
- [in]
pStgPriority
- [in]
grfMode
- [in]
snbExclude
- [in]
reserved
- [in]
- Throws:
ComException
copyTo
void copyTo(UInt32 ciidExclude,
ComplexArray rgiidExclude,
SNB snbExclude,
IStorage pstgDest)
throws ComException
- Parameters:
ciidExclude
- [in]
rgiidExclude
- [in]
snbExclude
- [in]
pstgDest
- [in]
- Throws:
ComException
moveElementTo
void moveElementTo(OleStr pwcsName,
IStorage pstgDest,
OleStr pwcsNewName,
StgMode grfFlags)
throws ComException
- Parameters:
pwcsName
- [in]
pstgDest
- [in]
pwcsNewName
- [in]
grfFlags
- [in]
- Throws:
ComException
commit
void commit(StgCommit grfCommitFlags)
throws ComException
- Parameters:
grfCommitFlags
- [in]
- Throws:
ComException
revert
void revert()
throws ComException
- Throws:
ComException
enumElements
IEnumStatStg enumElements(UInt32 reserved1,
Pointer.Void reserved2,
UInt32 reserved3)
throws ComException
- Parameters:
reserved1
- [in]
reserved2
- [in]
reserved3
- [in]
- Throws:
ComException
destroyElement
void destroyElement(OleStr pwcsName)
throws ComException
- Parameters:
pwcsName
- [in]
- Throws:
ComException
renameElement
void renameElement(OleStr pwcsName,
OleStr pwcsNewName)
throws ComException
- Parameters:
pwcsName
- [in]
pwcsNewName
- [in]
- Throws:
ComException
setElementTimes
void setElementTimes(OleStr pwcsName,
FileTime pctime,
FileTime patime,
FileTime pmtime)
throws ComException
- Parameters:
pwcsName
- [in]
pctime
- [in]
patime
- [in]
pmtime
- [in]
- Throws:
ComException
setClass
void setClass(CLSID clsid)
throws ComException
- Parameters:
clsid
- [in]
- Throws:
ComException
setStateBits
void setStateBits(UInt32 grfStateBits,
UInt32 grfMask)
throws ComException
- Parameters:
grfStateBits
- [in]
grfMask
- [in]
- Throws:
ComException
stat
StatStg stat(StatFlag grfStatFlag)
throws ComException
- Parameters:
grfStatFlag
- [in]
- Throws:
ComException