public class Dispatch extends Unknown implements IDispatch
Modifier and Type | Class and Description |
---|---|
static class |
Dispatch.ByReference |
IID_IDISPATCH
IID_IUNKNOWN
Constructor and Description |
---|
Dispatch() |
Dispatch(Pointer pvInstance) |
Modifier and Type | Method and Description |
---|---|
WinNT.HRESULT |
GetIDsOfNames(Guid.REFIID riid,
WString[] rgszNames,
int cNames,
WinDef.LCID lcid,
OaIdl.DISPIDByReference rgDispId)
Gets the ids of names.
|
WinNT.HRESULT |
GetTypeInfo(WinDef.UINT iTInfo,
WinDef.LCID lcid,
PointerByReference ppTInfo)
Gets the type info.
|
WinNT.HRESULT |
GetTypeInfoCount(WinDef.UINTByReference pctinfo)
Gets the type info count.
|
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.
|
AddRef, QueryInterface, Release
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
AddRef, QueryInterface, Release
public Dispatch()
public Dispatch(Pointer pvInstance)
public WinNT.HRESULT GetTypeInfoCount(WinDef.UINTByReference pctinfo)
GetTypeInfoCount
in interface IDispatch
pctinfo
- the pctinfopublic WinNT.HRESULT GetTypeInfo(WinDef.UINT iTInfo, WinDef.LCID lcid, PointerByReference ppTInfo)
GetTypeInfo
in interface IDispatch
iTInfo
- the i t infolcid
- the lcidppTInfo
- the pp t infopublic WinNT.HRESULT GetIDsOfNames(Guid.REFIID riid, WString[] rgszNames, int cNames, WinDef.LCID lcid, OaIdl.DISPIDByReference rgDispId)
GetIDsOfNames
in interface IDispatch
riid
- the riidrgszNames
- the rgsz namescNames
- the c nameslcid
- the lcidrgDispId
- the rg disp idpublic 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)