com.jniwrapper.win32.stg.impl
Class ILockBytesImpl
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.win32.com.impl.IUnknownImpl
com.jniwrapper.win32.stg.impl.ILockBytesImpl
- All Implemented Interfaces:
- AutoDeleteParameter, PointerParameter, IUnknown, ILockBytes
public class ILockBytesImpl
- extends IUnknownImpl
- implements ILockBytes
Represents COM interface ILockBytes.
| Fields inherited from class com.jniwrapper.Parameter |
V |
| Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl |
acceptIOPerformer, addRef, asVoidPointer, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write |
| Methods inherited from class com.jniwrapper.Parameter |
, a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
INTERFACE_IDENTIFIER
public static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
ILockBytesImpl
public ILockBytesImpl()
ILockBytesImpl
protected ILockBytesImpl(IUnknownImpl that)
throws ComException
- Throws:
ComException
ILockBytesImpl
public ILockBytesImpl(IUnknown that)
ILockBytesImpl
public ILockBytesImpl(CLSID clsid,
ClsCtx dwClsContext)
throws ComException
- Throws:
ComException
ILockBytesImpl
public ILockBytesImpl(CLSID clsid,
IUnknown pUnkOuter,
ClsCtx dwClsContext)
throws ComException
- Throws:
ComException
readAt
public Int32 readAt(CY ulOffset,
Pointer.Void pv,
Int32 cb)
throws ComException
- Specified by:
readAt in interface ILockBytes
- Parameters:
ulOffset - [in]pv - [out]cb - [in]
- Throws:
ComException
writeAt
public Int32 writeAt(CY ulOffset,
Pointer.Void pv,
Int32 cb)
throws ComException
- Specified by:
writeAt in interface ILockBytes
- Parameters:
ulOffset - [in]pv - [in]cb - [in]
- Throws:
ComException
flush
public void flush()
throws ComException
- Specified by:
flush in interface ILockBytes
- Throws:
ComException
setSize
public void setSize(CY cb)
throws ComException
- Specified by:
setSize in interface ILockBytes
- Parameters:
cb - [in]
- Throws:
ComException
lockRegion
public void lockRegion(CY libOffset,
CY cb,
Int32 dwLockType)
throws ComException
- Specified by:
lockRegion in interface ILockBytes
- Parameters:
libOffset - [in]cb - [in]dwLockType - [in]
- Throws:
ComException
unlockRegion
public void unlockRegion(CY libOffset,
CY cb,
Int32 dwLockType)
throws ComException
- Specified by:
unlockRegion in interface ILockBytes
- Parameters:
libOffset - [in]cb - [in]dwLockType - [in]
- Throws:
ComException
stat
public StatStg stat(StatFlag grfStatFlag)
throws ComException
- Specified by:
stat in interface ILockBytes
- Parameters:
grfStatFlag - [in]
- Throws:
ComException
getIID
public IID getIID()
- Overrides:
getIID in class IUnknownImpl
clone
public java.lang.Object clone()
- Overrides:
clone in class IUnknownImpl