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(java.lang.String progId,
boolean useActiveInstance) |
COMBindingBaseObject(java.lang.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(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, java.lang.String name, Variant.VARIANT[] pArgs) throws COMException
COMException
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException
COMException
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, java.lang.String name, Variant.VARIANT pArg) throws COMException
nType
- the n typepvResult
- the pv resultname
- the namepArg
- the argCOMException
- the cOM exceptionprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException
COMException
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, java.lang.String name) throws COMException
nType
- the n typepvResult
- the pv resultname
- the nameCOMException
- the cOM exceptionprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId) throws COMException
COMException
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name, Variant.VARIANT[] pArgs) throws COMException
COMException
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException
COMException
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name, Variant.VARIANT pArg) throws COMException
oleMethod(int, com.sun.jna.platform.win32.Variant.VARIANT.ByReference, java.lang.String, com.sun.jna.platform.win32.Variant.VARIANT)
COMException
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException
COMException
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name) throws COMException
oleMethod(int, com.sun.jna.platform.win32.Variant.VARIANT.ByReference, java.lang.String)
COMException
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId) throws COMException
oleMethod(int, com.sun.jna.platform.win32.Variant.VARIANT.ByReference, com.sun.jna.platform.win32.OaIdl.DISPID)
COMException
@Deprecated protected void checkFailed(WinNT.HRESULT hr)
COMUtils.checkRC(com.sun.jna.platform.win32.WinNT.HRESULT)
hr
- the hr