com.jniwrapper.win32.stg.impl
Class ILockBytesImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.stg.impl.ILockBytesImpl
All Implemented Interfaces:
AutoDeleteParameter, ILockBytes, IUnknown, PointerParameter

public class ILockBytesImpl
extends IUnknownImpl
implements ILockBytes

Represents COM interface ILockBytes.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
IUnknownImpl.MemoryBufferImpl
 
Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
DebugComfyJ, LICENSE_TYPE, PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
V
 
Constructor Summary
  ILockBytesImpl()
           
  ILockBytesImpl(CLSID clsid, ClsCtx dwClsContext)
           
  ILockBytesImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  ILockBytesImpl(IUnknown that)
           
protected ILockBytesImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 void flush()
           
 IID getIID()
           
 void lockRegion(CY libOffset, CY cb, Int32 dwLockType)
           
 Int32 readAt(CY ulOffset, Pointer.Void pv, Int32 cb)
           
 void setSize(CY cb)
           
 StatStg stat(StatFlag grfStatFlag)
           
 void unlockRegion(CY libOffset, CY cb, Int32 dwLockType)
           
 Int32 writeAt(CY ulOffset, Pointer.Void pv, Int32 cb)
           
 
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
 
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
Constructor Detail

ILockBytesImpl

public ILockBytesImpl()

ILockBytesImpl

protected ILockBytesImpl(IUnknownImpl that)
                  throws ComException

ILockBytesImpl

public ILockBytesImpl(IUnknown that)

ILockBytesImpl

public ILockBytesImpl(CLSID clsid,
                      ClsCtx dwClsContext)
               throws ComException

ILockBytesImpl

public ILockBytesImpl(CLSID clsid,
                      IUnknown pUnkOuter,
                      ClsCtx dwClsContext)
               throws ComException
Method Detail

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