NativeMapped
COMEarlyBindingObject
, COMLateBindingObject
public class COMBindingBaseObject extends COMInvoker
Modifier and Type | Field | Description |
---|---|---|
static WinDef.LCID |
LOCALE_SYSTEM_DEFAULT |
The Constant LOCALE_SYSTEM_DEFAULT.
|
static WinDef.LCID |
LOCALE_USER_DEFAULT |
The Constant LOCALE_USER_DEFAULT.
|
Constructor | Description |
---|---|
COMBindingBaseObject(IDispatch dispatch) |
|
COMBindingBaseObject(Guid.CLSID clsid,
boolean useActiveInstance) |
|
COMBindingBaseObject(Guid.CLSID clsid,
boolean useActiveInstance,
int dwClsContext) |
|
COMBindingBaseObject(java.lang.String progId,
boolean useActiveInstance) |
|
COMBindingBaseObject(java.lang.String progId,
boolean useActiveInstance,
int dwClsContext) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
checkFailed(WinNT.HRESULT hr) |
Check failed.
|
IDispatch |
getIDispatch() |
Gets the i dispatch.
|
PointerByReference |
getIDispatchPointer() |
Gets the i dispatch pointer.
|
IUnknown |
getIUnknown() |
Gets the i unknown.
|
PointerByReference |
getIUnknownPointer() |
Gets the i unknown pointer.
|
protected WinNT.HRESULT |
oleMethod(int nType,
Variant.VARIANT.ByReference pvResult,
IDispatch pDisp,
OaIdl.DISPID dispId) |
|
protected WinNT.HRESULT |
oleMethod(int nType,
Variant.VARIANT.ByReference pvResult,
IDispatch pDisp,
OaIdl.DISPID dispId,
Variant.VARIANT pArg) |
|
protected WinNT.HRESULT |
oleMethod(int nType,
Variant.VARIANT.ByReference pvResult,
IDispatch pDisp,
OaIdl.DISPID dispId,
Variant.VARIANT[] pArgs) |
|
protected WinNT.HRESULT |
oleMethod(int nType,
Variant.VARIANT.ByReference pvResult,
IDispatch pDisp,
java.lang.String name) |
Ole method.
|
protected WinNT.HRESULT |
oleMethod(int nType,
Variant.VARIANT.ByReference pvResult,
IDispatch pDisp,
java.lang.String name,
Variant.VARIANT pArg) |
Ole method.
|
protected WinNT.HRESULT |
oleMethod(int nType,
Variant.VARIANT.ByReference pvResult,
IDispatch pDisp,
java.lang.String name,
Variant.VARIANT[] pArgs) |
|
void |
release() |
Release.
|
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public static final WinDef.LCID LOCALE_USER_DEFAULT
public static final WinDef.LCID LOCALE_SYSTEM_DEFAULT
public COMBindingBaseObject(IDispatch dispatch)
public COMBindingBaseObject(Guid.CLSID clsid, boolean useActiveInstance)
public COMBindingBaseObject(Guid.CLSID clsid, boolean useActiveInstance, int dwClsContext)
public COMBindingBaseObject(java.lang.String progId, boolean useActiveInstance, int dwClsContext) throws COMException
COMException
public COMBindingBaseObject(java.lang.String progId, boolean useActiveInstance) throws COMException
COMException
public IDispatch getIDispatch()
public PointerByReference getIDispatchPointer()
public IUnknown getIUnknown()
public PointerByReference getIUnknownPointer()
public void release()
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name, Variant.VARIANT[] pArgs) throws COMException
COMException
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException
COMException
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name, Variant.VARIANT pArg) throws COMException
nType
- the n typepvResult
- the pv resultpDisp
- the dispname
- the namepArg
- the argCOMException
- the cOM exceptionprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException
COMException
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name) throws COMException
nType
- the n typepvResult
- the pv resultpDisp
- the dispname
- the nameCOMException
- the cOM exceptionprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId) throws COMException
COMException
protected void checkFailed(WinNT.HRESULT hr)
hr
- the hr