NativeMappedCOMEarlyBindingObject, COMLateBindingObjectpublic 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(String progId,
boolean useActiveInstance) |
|
COMBindingBaseObject(String progId,
boolean useActiveInstance,
int dwClsContext) |
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringpublic 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
COMExceptionpublic COMBindingBaseObject(String progId, boolean useActiveInstance) throws COMException
COMExceptionpublic 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
COMExceptionprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException
COMExceptionprotected 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
COMExceptionprotected 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
COMExceptionprotected void checkFailed(WinNT.HRESULT hr)
hr - the hr