public class IDispatch extends IUnknown
Modifier and Type | Class and Description |
---|---|
static class |
IDispatch.ByReference
The Class ByReference.
|
Modifier and Type | Field and Description |
---|---|
static Guid.IID |
IID_IDispatch
The Constant IID_IDispatch.
|
Constructor and Description |
---|
IDispatch()
Instantiates a new i dispatch.
|
IDispatch(Pointer pvInstance)
Instantiates a new i dispatch.
|
Modifier and Type | Method and Description |
---|---|
WinNT.HRESULT |
GetIDsOfNames(Guid.IID riid,
WString[] rgszNames,
int cNames,
WinDef.LCID lcid,
OaIdl.DISPIDbyReference rgDispId)
Gets the i ds of names.
|
WinNT.HRESULT |
GetTypeInfo(WinDef.UINT iTInfo,
WinDef.LCID lcid,
PointerByReference ppTInfo)
Gets the type info.
|
WinNT.HRESULT |
GetTypeInfoCount(IntByReference pctinfo)
Gets the type info count.
|
WinNT.HRESULT |
Invoke(OaIdl.DISPID dispIdMember,
Guid.IID riid,
WinDef.LCID lcid,
OaIdl.DISPID wFlags,
OleAuto.DISPPARAMS pDispParams,
Variant.VARIANT.ByReference pVarResult,
OaIdl.EXCEPINFO.ByReference pExcepInfo,
IntByReference puArgErr)
Invoke.
|
AddRef, QueryInterface, Release
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public static final Guid.IID IID_IDispatch
public IDispatch()
public IDispatch(Pointer pvInstance)
pvInstance
- the pv instancepublic WinNT.HRESULT GetTypeInfoCount(IntByReference pctinfo)
pctinfo
- the pctinfopublic WinNT.HRESULT GetTypeInfo(WinDef.UINT iTInfo, WinDef.LCID lcid, PointerByReference ppTInfo)
iTInfo
- the i t infolcid
- the lcidppTInfo
- the pp t infopublic WinNT.HRESULT GetIDsOfNames(Guid.IID riid, WString[] rgszNames, int cNames, WinDef.LCID lcid, OaIdl.DISPIDbyReference rgDispId)
riid
- the riidrgszNames
- the rgsz namescNames
- the c nameslcid
- the lcidrgDispId
- the rg disp idpublic WinNT.HRESULT Invoke(OaIdl.DISPID dispIdMember, Guid.IID riid, WinDef.LCID lcid, OaIdl.DISPID wFlags, OleAuto.DISPPARAMS pDispParams, Variant.VARIANT.ByReference pVarResult, OaIdl.EXCEPINFO.ByReference pExcepInfo, IntByReference puArgErr)
dispIdMember
- the disp id memberriid
- the riidlcid
- the lcidwFlags
- the w flagspDispParams
- the disp paramspVarResult
- the var resultpExcepInfo
- the excep infopuArgErr
- the pu arg err