public class Dispatch extends Unknown implements IDispatch
| Modifier and Type | Class and Description |
|---|---|
static class |
Dispatch.ByReference |
IID_IDISPATCHIID_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, _invokeNativeVoidequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitAddRef, QueryInterface, Releasepublic Dispatch()
public Dispatch(Pointer pvInstance)
public WinNT.HRESULT GetTypeInfoCount(WinDef.UINTByReference pctinfo)
GetTypeInfoCount in interface IDispatchpctinfo - the pctinfopublic WinNT.HRESULT GetTypeInfo(WinDef.UINT iTInfo, WinDef.LCID lcid, PointerByReference ppTInfo)
GetTypeInfo in interface IDispatchiTInfo - 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 IDispatchriid - 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)