org.bridj.cpp.com
Class COMCallableWrapper

java.lang.Object
  extended by org.bridj.NativeObject
      extended by org.bridj.StructObject
          extended by org.bridj.cpp.CPPObject
              extended by org.bridj.cpp.com.IUnknown
                  extended by org.bridj.cpp.com.IDispatch
                      extended by org.bridj.cpp.com.COMCallableWrapper
All Implemented Interfaces:
NativeObjectInterface

public class COMCallableWrapper
extends IDispatch

Implementing the IDispatch Interface : http://msdn.microsoft.com/en-us/library/ms221037.aspx Simulating COM Interfaces : http://msdn.microsoft.com/en-us/library/111chfb8.aspx


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bridj.cpp.com.IDispatch
IDispatch.DISPPARAMS, IDispatch.EXCEPINFO
 
Field Summary
 
Fields inherited from class org.bridj.cpp.com.IUnknown
autoRelease
 
Fields inherited from class org.bridj.StructObject
io
 
Fields inherited from class org.bridj.NativeObject
peer, typeInfo
 
Constructor Summary
COMCallableWrapper(Object instance)
           
 
Method Summary
 int GetIDsOfNames(Pointer riid, Pointer<Pointer<Character>> rgszNames, int cNames, int lcid, Pointer<Integer> rgDispId)
           
 int GetTypeInfo(int iTInfo, int lcid, Pointer<Pointer<ITypeInfo>> ppTInfo)
           
 int GetTypeInfoCount(Pointer<Integer> pctinfo)
           
 int Invoke(int dispIdMember, Pointer<Byte> riid, int lcid, short wFlags, Pointer<IDispatch.DISPPARAMS> pDispParams, Pointer<VARIANT> pVarResult, Pointer<IDispatch.EXCEPINFO> pExcepInfo, Pointer<Integer> puArgErr)
           
 
Methods inherited from class org.bridj.cpp.com.IUnknown
AddRef, finalize, QueryInterface, QueryInterface, Release, wrap
 
Methods inherited from class org.bridj.StructObject
toString
 
Methods inherited from class org.bridj.NativeObject
clone, equals
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

COMCallableWrapper

public COMCallableWrapper(Object instance)
Method Detail

GetIDsOfNames

public int GetIDsOfNames(Pointer riid,
                         Pointer<Pointer<Character>> rgszNames,
                         int cNames,
                         int lcid,
                         Pointer<Integer> rgDispId)
Overrides:
GetIDsOfNames in class IDispatch

Invoke

public int Invoke(int dispIdMember,
                  Pointer<Byte> riid,
                  int lcid,
                  short wFlags,
                  Pointer<IDispatch.DISPPARAMS> pDispParams,
                  Pointer<VARIANT> pVarResult,
                  Pointer<IDispatch.EXCEPINFO> pExcepInfo,
                  Pointer<Integer> puArgErr)
Overrides:
Invoke in class IDispatch

GetTypeInfo

public int GetTypeInfo(int iTInfo,
                       int lcid,
                       Pointer<Pointer<ITypeInfo>> ppTInfo)
Overrides:
GetTypeInfo in class IDispatch

GetTypeInfoCount

public int GetTypeInfoCount(Pointer<Integer> pctinfo)
Overrides:
GetTypeInfoCount in class IDispatch


Copyright © 2009-2012. All Rights Reserved.