com.jniwrapper.win32.stg
Interface ILockBytes
- All Superinterfaces:
- AutoDeleteParameter, IUnknown
- All Known Implementing Classes:
- ILockBytesImpl
- public interface ILockBytes
- extends IUnknown
This interface isolates the root storage from details of accessing to a
physical storage.
- See Also:
- Microsoft
Structured Storage documentation
INTERFACE_IDENTIFIER
public static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
readAt
public Int32 readAt(CY ulOffset,
Pointer.Void pv,
Int32 cb)
throws ComException
- Parameters:
ulOffset
- [in]
pv
- [in]
cb
- [in]
- Throws:
ComException
writeAt
public Int32 writeAt(CY ulOffset,
Pointer.Void pv,
Int32 cb)
throws ComException
- Parameters:
ulOffset
- [in]
pv
- [in]
cb
- [in]
- Throws:
ComException
flush
public void flush()
throws ComException
- Throws:
ComException
setSize
public void setSize(CY cb)
throws ComException
- Parameters:
cb
- [in]
- Throws:
ComException
lockRegion
public void lockRegion(CY libOffset,
CY cb,
Int32 dwLockType)
throws ComException
- Parameters:
libOffset
- [in]
cb
- [in]
dwLockType
- [in]
- Throws:
ComException
unlockRegion
public void unlockRegion(CY libOffset,
CY cb,
Int32 dwLockType)
throws ComException
- Parameters:
libOffset
- [in]
cb
- [in]
dwLockType
- [in]
- Throws:
ComException
stat
public StatStg stat(StatFlag grfStatFlag)
throws ComException
- Parameters:
grfStatFlag
- [in]
- Throws:
ComException