Package com.sun.jna.platform.win32.COM
Klasse COMBindingBaseObject
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.COM.COMInvoker
com.sun.jna.platform.win32.COM.COMBindingBaseObject
- Alle implementierten Schnittstellen:
NativeMapped
- Bekannte direkte Unterklassen:
COMEarlyBindingObject
,COMLateBindingObject
Helper class to provide basic COM support.
- Autor:
- Tobias Wolf, [email protected]
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final WinDef.LCID
The Constant LOCALE_SYSTEM_DEFAULT.static final WinDef.LCID
The Constant LOCALE_USER_DEFAULT. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCOMBindingBaseObject
(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) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
Veraltet.Gets the i dispatch.Gets the i dispatch pointer.Gets the i unknown.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, String name) protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, String name, Variant.VARIANT pArg) protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, String name, Variant.VARIANT[] pArgs) protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId) protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT pArg) protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, String name) Ole method.protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, String name, Variant.VARIANT pArg) Ole method.protected WinNT.HRESULT
oleMethod
(int nType, Variant.VARIANT.ByReference pvResult, String name, Variant.VARIANT[] pArgs) void
release()
Release.Von Klasse geerbte Methoden com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
Von Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Felddetails
-
LOCALE_USER_DEFAULT
The Constant LOCALE_USER_DEFAULT. -
LOCALE_SYSTEM_DEFAULT
The Constant LOCALE_SYSTEM_DEFAULT.
-
-
Konstruktordetails
-
COMBindingBaseObject
-
COMBindingBaseObject
-
COMBindingBaseObject
-
COMBindingBaseObject
public COMBindingBaseObject(String progId, boolean useActiveInstance, int dwClsContext) throws COMException - Löst aus:
COMException
-
COMBindingBaseObject
- Löst aus:
COMException
-
-
Methodendetails
-
getIDispatch
Gets the i dispatch.- Gibt zurück:
- the i dispatch
-
getIDispatchPointer
Gets the i dispatch pointer.- Gibt zurück:
- the i dispatch pointer
-
getIUnknown
Gets the i unknown.- Gibt zurück:
- the i unknown
-
getIUnknownPointer
Gets the i unknown pointer.- Gibt zurück:
- the i unknown pointer
-
release
public void release()Release. -
oleMethod
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, String name, Variant.VARIANT[] pArgs) throws COMException - Löst aus:
COMException
-
oleMethod
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException - Löst aus:
COMException
-
oleMethod
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, String name, Variant.VARIANT pArg) throws COMException Ole method.- Parameter:
nType
- the n typepvResult
- the pv resultname
- the namepArg
- the arg- Gibt zurück:
- the hresult
- Löst aus:
COMException
- the cOM exception
-
oleMethod
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException - Löst aus:
COMException
-
oleMethod
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, String name) throws COMException Ole method.- Parameter:
nType
- the n typepvResult
- the pv resultname
- the name- Gibt zurück:
- the hresult
- Löst aus:
COMException
- the cOM exception
-
oleMethod
protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, OaIdl.DISPID dispId) throws COMException - Löst aus:
COMException
-
oleMethod
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, String name, Variant.VARIANT[] pArgs) throws COMException - Löst aus:
COMException
-
oleMethod
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT[] pArgs) throws COMException - Löst aus:
COMException
-
oleMethod
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, String name, Variant.VARIANT pArg) throws COMException - Löst aus:
COMException
-
oleMethod
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId, Variant.VARIANT pArg) throws COMException - Löst aus:
COMException
-
oleMethod
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, String name) throws COMException Veraltet.- Löst aus:
COMException
-
oleMethod
@Deprecated protected WinNT.HRESULT oleMethod(int nType, Variant.VARIANT.ByReference pvResult, IDispatch pDisp, OaIdl.DISPID dispId) throws COMException Veraltet.- Löst aus:
COMException
-
checkFailed
Check failed.- Parameter:
hr
- the hr
-
COMUtils.checkRC(com.sun.jna.platform.win32.WinNT.HRESULT)