Package com.sun.jna.platform.win32.COM
Class Dispatch
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.COM.COMInvoker
com.sun.jna.platform.win32.COM.Unknown
com.sun.jna.platform.win32.COM.Dispatch
- All Implemented Interfaces:
- NativeMapped,- IDispatch,- IUnknown
- Direct Known Subclasses:
- Dispatch.ByReference
Wrapper class for the IDispatch interface
 IDispatch.GetTypeInfoCount 12 IDispatch.GetTypeInfo 16
 IDispatch.GetIDsOfNames 20 IDispatch.Invoke 24
- Author:
- Tobias Wolf, wolf.tobias@gmx.net
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from interface com.sun.jna.platform.win32.COM.IDispatchIID_IDISPATCHFields inherited from interface com.sun.jna.platform.win32.COM.IUnknownIID_IUNKNOWN
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGetIDsOfNames(Guid.REFIID riid, WString[] rgszNames, int cNames, WinDef.LCID lcid, OaIdl.DISPIDByReference rgDispId) Gets the ids of names.GetTypeInfo(WinDef.UINT iTInfo, WinDef.LCID lcid, PointerByReference ppTInfo) Gets the type info.GetTypeInfoCount(WinDef.UINTByReference pctinfo) Gets the type info count.Invoke(OaIdl.DISPID dispIdMember, Guid.REFIID riid, WinDef.LCID lcid, WinDef.WORD wFlags, OleAuto.DISPPARAMS.ByReference pDispParams, Variant.VARIANT.ByReference pVarResult, OaIdl.EXCEPINFO.ByReference pExcepInfo, IntByReference puArgErr) Invoke.Methods inherited from class com.sun.jna.platform.win32.COM.UnknownAddRef, QueryInterface, ReleaseMethods inherited from class com.sun.jna.platform.win32.COM.COMInvoker_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidMethods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.jna.platform.win32.COM.IUnknownAddRef, QueryInterface, Release
- 
Constructor Details- 
Dispatchpublic Dispatch()
- 
Dispatch
 
- 
- 
Method Details- 
GetTypeInfoCountGets the type info count.- Specified by:
- GetTypeInfoCountin interface- IDispatch
- Parameters:
- pctinfo- the pctinfo
- Returns:
- the hresult Virtual
 
- 
GetTypeInfoGets the type info.- Specified by:
- GetTypeInfoin interface- IDispatch
- Parameters:
- iTInfo- the i t info
- lcid- the lcid
- ppTInfo- the pp t info
- Returns:
- the hresult
 
- 
GetIDsOfNamespublic WinNT.HRESULT GetIDsOfNames(Guid.REFIID riid, WString[] rgszNames, int cNames, WinDef.LCID lcid, OaIdl.DISPIDByReference rgDispId) Gets the ids of names.- Specified by:
- GetIDsOfNamesin interface- IDispatch
- Parameters:
- riid- the riid
- rgszNames- the rgsz names
- cNames- the c names
- lcid- the lcid
- rgDispId- the rg disp id
- Returns:
- the hresult
 
- 
Invokepublic WinNT.HRESULT Invoke(OaIdl.DISPID dispIdMember, Guid.REFIID riid, WinDef.LCID lcid, WinDef.WORD wFlags, OleAuto.DISPPARAMS.ByReference pDispParams, Variant.VARIANT.ByReference pVarResult, OaIdl.EXCEPINFO.ByReference pExcepInfo, IntByReference puArgErr) Invoke.
 
-