public class COMBindingBaseObject extends COMInvoker
Modifier and Type | Field and Description |
---|---|
static WinDef.LCID |
LOCALE_SYSTEM_DEFAULT
The Constant LOCALE_SYSTEM_DEFAULT.
|
static WinDef.LCID |
LOCALE_USER_DEFAULT
The Constant LOCALE_USER_DEFAULT.
|
Constructor and Description |
---|
COMBindingBaseObject(Guid.CLSID clsid,
boolean useActiveInstance) |
COMBindingBaseObject(Guid.CLSID clsid,
boolean useActiveInstance,
int dwClsContext) |
COMBindingBaseObject(IDispatch dispatch) |
COMBindingBaseObject(String progId,
boolean useActiveInstance) |
COMBindingBaseObject(String progId,
boolean useActiveInstance,
int dwClsContext) |
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
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(String progId, boolean useActiveInstance, int dwClsContext) throws COMException
COMException
public COMBindingBaseObject(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, 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, 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, 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