com.jniwrapper.win32.ole.impl
Class IDataObjectImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.ole.impl.IDataObjectImpl
All Implemented Interfaces:
AutoDeleteParameter, IDataObject, IUnknown, PointerParameter

public class IDataObjectImpl
extends IUnknownImpl
implements IDataObject

Represents COM interface IDataObject.


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
  IDataObjectImpl()
           
  IDataObjectImpl(CLSID clsid, ClsCtx dwClsContext)
           
  IDataObjectImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  IDataObjectImpl(IUnknown that)
           
protected IDataObjectImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 UInt32 DAdvise(FormatEtc pformatetc, AdviceFlags advf, IAdviseSink pAdvSink)
           
 void DUnadvise(UInt32 dwConnection)
           
 IEnumStatData enumDAdvise()
           
 IEnumFormatEtc enumFormatEtc(DataDir dwDirection)
           
 FormatEtc getCanonicalFormatEtc(FormatEtc pformatectIn)
           
 HResult getData(FormatEtc pformatetcIn, StgMedium pStgMediumIn)
           
 void getDataHere(FormatEtc pformatetc, StgMedium pmedium)
           
 IID getIID()
           
 void queryGetData(FormatEtc pformatetc)
           
 void setData(FormatEtc pformatetc, StgMedium pmedium, VariantBool fRelease)
           
 
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

IDataObjectImpl

public IDataObjectImpl()

IDataObjectImpl

protected IDataObjectImpl(IUnknownImpl that)
                   throws ComException

IDataObjectImpl

public IDataObjectImpl(IUnknown that)

IDataObjectImpl

public IDataObjectImpl(CLSID clsid,
                       ClsCtx dwClsContext)
                throws ComException

IDataObjectImpl

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

getData

public HResult getData(FormatEtc pformatetcIn,
                       StgMedium pStgMediumIn)
                throws ComException
Specified by:
getData in interface IDataObject
Parameters:
pformatetcIn - [in]
pStgMediumIn - [out]
Returns:
HResult
Throws:
ComException

getDataHere

public void getDataHere(FormatEtc pformatetc,
                        StgMedium pmedium)
                 throws ComException
Specified by:
getDataHere in interface IDataObject
Parameters:
pformatetc - [in]
pmedium - [in,out]
Throws:
ComException

queryGetData

public void queryGetData(FormatEtc pformatetc)
                  throws ComException
Specified by:
queryGetData in interface IDataObject
Parameters:
pformatetc - [in]
Throws:
ComException

getCanonicalFormatEtc

public FormatEtc getCanonicalFormatEtc(FormatEtc pformatectIn)
                                throws ComException
Specified by:
getCanonicalFormatEtc in interface IDataObject
Parameters:
pformatectIn - [in]
Throws:
ComException

setData

public void setData(FormatEtc pformatetc,
                    StgMedium pmedium,
                    VariantBool fRelease)
             throws ComException
Specified by:
setData in interface IDataObject
Parameters:
pformatetc - [in]
pmedium - [in]
fRelease - [in]
Throws:
ComException

enumFormatEtc

public IEnumFormatEtc enumFormatEtc(DataDir dwDirection)
                             throws ComException
Specified by:
enumFormatEtc in interface IDataObject
Parameters:
dwDirection - [in]
Throws:
ComException

DAdvise

public UInt32 DAdvise(FormatEtc pformatetc,
                      AdviceFlags advf,
                      IAdviseSink pAdvSink)
               throws ComException
Specified by:
DAdvise in interface IDataObject
Parameters:
pformatetc - [in,out]
advf - [in]
pAdvSink - [in]
Throws:
ComException

DUnadvise

public void DUnadvise(UInt32 dwConnection)
               throws ComException
Specified by:
DUnadvise in interface IDataObject
Parameters:
dwConnection - [in]
Throws:
ComException

enumDAdvise

public IEnumStatData enumDAdvise()
                          throws ComException
Specified by:
enumDAdvise in interface IDataObject
Throws:
ComException

getIID

public IID getIID()
Overrides:
getIID in class IUnknownImpl

clone

public java.lang.Object clone()
Overrides:
clone in class IUnknownImpl