Package com.sun.jna.platform.win32.COM
Class COMBindingBaseObject
- java.lang.Object
- 
- com.sun.jna.PointerType
- 
- com.sun.jna.platform.win32.COM.COMInvoker
- 
- com.sun.jna.platform.win32.COM.COMBindingBaseObject
 
 
 
- 
- All Implemented Interfaces:
- NativeMapped
 - Direct Known Subclasses:
- COMEarlyBindingObject,- COMLateBindingObject
 
 public class COMBindingBaseObject extends COMInvoker Helper class to provide basic COM support.- Author:
- Tobias Wolf, wolf.tobias@gmx.net
 
- 
- 
Field SummaryFields Modifier and Type Field Description static WinDef.LCIDLOCALE_SYSTEM_DEFAULTThe Constant LOCALE_SYSTEM_DEFAULT.static WinDef.LCIDLOCALE_USER_DEFAULTThe Constant LOCALE_USER_DEFAULT.
 - 
Constructor SummaryConstructors 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)
 - 
Method Summary- 
Methods inherited from class com.sun.jna.platform.win32.COM.COMInvoker_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
 - 
Methods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
 
- 
 
- 
- 
- 
Field Detail- 
LOCALE_USER_DEFAULTpublic static final WinDef.LCID LOCALE_USER_DEFAULT The Constant LOCALE_USER_DEFAULT.
 - 
LOCALE_SYSTEM_DEFAULTpublic static final WinDef.LCID LOCALE_SYSTEM_DEFAULT The Constant LOCALE_SYSTEM_DEFAULT.
 
- 
 - 
Constructor Detail- 
COMBindingBaseObjectpublic COMBindingBaseObject(IDispatch dispatch) 
 - 
COMBindingBaseObjectpublic COMBindingBaseObject(Guid.CLSID clsid, boolean useActiveInstance) 
 - 
COMBindingBaseObjectpublic COMBindingBaseObject(Guid.CLSID clsid, boolean useActiveInstance, int dwClsContext) 
 - 
COMBindingBaseObjectpublic COMBindingBaseObject(java.lang.String progId, boolean useActiveInstance, int dwClsContext) throws COMException- Throws:
- COMException
 
 - 
COMBindingBaseObjectpublic COMBindingBaseObject(java.lang.String progId, boolean useActiveInstance) throws COMException- Throws:
- COMException
 
 
- 
 - 
Method Detail- 
getIDispatchpublic IDispatch getIDispatch() Gets the i dispatch.- Returns:
- the i dispatch
 
 - 
getIDispatchPointerpublic PointerByReference getIDispatchPointer() Gets the i dispatch pointer.- Returns:
- the i dispatch pointer
 
 - 
getIUnknownpublic IUnknown getIUnknown() Gets the i unknown.- Returns:
- the i unknown
 
 - 
getIUnknownPointerpublic PointerByReference getIUnknownPointer() Gets the i unknown pointer.- Returns:
- the i unknown pointer
 
 - 
releasepublic void release() Release.
 - 
oleMethodprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, java.lang.String name, Variant.VARIANT[] pArgs) throws COMException - Throws:
- COMException
 
 - 
oleMethodprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException - Throws:
- COMException
 
 - 
oleMethodprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, java.lang.String name, Variant.VARIANT pArg) throws COMException Ole method.- Parameters:
- nType- the n type
- pvResult- the pv result
- name- the name
- pArg- the arg
- Returns:
- the hresult
- Throws:
- COMException- the cOM exception
 
 - 
oleMethodprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException - Throws:
- COMException
 
 - 
oleMethodprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, java.lang.String name) throws COMException Ole method.- Parameters:
- nType- the n type
- pvResult- the pv result
- name- the name
- Returns:
- the hresult
- Throws:
- COMException- the cOM exception
 
 - 
oleMethodprotected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId) throws COMException - Throws:
- COMException
 
 - 
oleMethod@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name, Variant.VARIANT[] pArgs) throws COMException - Throws:
- COMException
 
 - 
oleMethod@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException - Throws:
- COMException
 
 - 
oleMethod@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name, Variant.VARIANT pArg) throws COMException Deprecated.- Throws:
- COMException
 
 - 
oleMethod@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException - Throws:
- COMException
 
 - 
oleMethod@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, java.lang.String name) throws COMException Deprecated.- Throws:
- COMException
 
 - 
oleMethod@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId) throws COMException Deprecated.- Throws:
- COMException
 
 - 
checkFailed@Deprecated protected void checkFailed(WinNT.HRESULT hr) Deprecated.Check failed.- Parameters:
- hr- the hr
 
 
- 
 
-