| Package | Description |
|---|---|
| org.jinterop.dcom.core |
Defines the classes and data structures required to work with j-Interop.
|
| org.jinterop.dcom.impls.automation |
Defines out-of-box classes for usage with COM servers supporting automation.
|
| Modifier and Type | Field and Description |
|---|---|
JIVariant |
JIString.Variant
Represents
JIVariant for this object, it is valid only if
this object is a BSTR
(JIFlags.FLAG_REPRESENTATION_STRING_BSTR) type. |
JIVariant |
JIString.VariantByRef
Represents
JIVariant(byRef = true) for this object, it is
valid only if this object is a BSTR
(JIFlags.FLAG_REPRESENTATION_STRING_BSTR) type. |
| Modifier and Type | Method and Description |
|---|---|
static JIVariant |
JIVariant.BSTRARRAY()
Helper method for creating an array of
BSTRs , IDL signature
[in, out] SAFEARRAY(BSTR) *p. |
static JIVariant |
JIVariant.EMPTY_BYREF()
EMPTY BYREF
VARIANT. |
static JIVariant |
JIVariant.EMPTY()
EMPTY
VARIANT.This is not Thread Safe,
hence a new instance must be taken each time. |
JIVariant |
JIVariant.getObjectAsVariant()
Retrieves the contained object as
JIVariant. |
JIVariant |
JICallBuilder.getResultAsVariantAt(int index)
Returns the value as
JIVariant at the index from the result
list. |
static JIVariant |
JIVariant.makeVariant(Object o)
Returns a JIVariant (of the right type) based on the
o.getClass() |
static JIVariant |
JIVariant.makeVariant(Object o,
boolean isByRef)
Returns a JIVariant (of the right type) based on the
o.getClass() |
static JIVariant |
JIVariant.NULL()
NULL
VARIANT . |
static JIVariant |
JIVariant.OPTIONAL_PARAM()
OPTIONAL PARAM.
|
static JIVariant |
JIVariant.OUT_IDISPATCH()
VARIANT for ([out] IDispatch*). |
static JIVariant |
JIVariant.OUT_IUNKNOWN()
VARIANT for ([out] IUnknown*). |
static JIVariant |
JIVariant.OUTPARAMforType(Class c,
boolean isArray) |
static JIVariant |
JIVariant.VARIANTARRAY()
Helper method for creating an array of
VARIANTs , IDL
signature [in, out] SAFEARRAY(VARIANT) *p OR
[in,out] VARIANT *pArray. |
| Modifier and Type | Method and Description |
|---|---|
void |
JICallBuilder.addInParamAsVariant(JIVariant value,
int FLAGS)
Add
[in] parameter as JIVariant at the end of
the Parameter list. |
void |
JICallBuilder.insertInParamAsVariantAt(int index,
JIVariant value,
int FLAGS)
Add
[in] parameter as JIVariant at the
specified index in the Parameter list. |
| Constructor and Description |
|---|
JIVariant(JIVariant variant)
Setting up a
VARIANT as reference to another. |
| Modifier and Type | Method and Description |
|---|---|
JIVariant |
IJIDispatch.callMethodA(int dispId)
Performs a
method call for the method identified by the
dispId parameter. |
JIVariant[] |
IJIDispatch.callMethodA(int dispId,
Object[] inparams)
Performs a
method call for the method identified by the
dispId parameter. |
JIVariant[] |
IJIDispatch.callMethodA(int dispId,
Object[] inparams,
int[] dispIds)
Performs a
method call for the method identified by the
dispId parameter. |
JIVariant |
IJIDispatch.callMethodA(String name)
Performs a
method call for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.callMethodA(String name,
Object[] inparams)
Performs a
method call for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.callMethodA(String name,
Object[] inparams,
int[] dispIds)
Performs a
method call for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.callMethodA(String name,
Object[] inparams,
String[] paramNames)
Performs a
method call for the method identified by the
name parameter. |
JIVariant |
IJIDispatch.get(int dispId)
Performs a
propget for the method identified by the
dispId. |
JIVariant[] |
IJIDispatch.get(int dispId,
Object[] inparams)
Performs a
propget for the method identified by the
dispId parameter. |
JIVariant |
IJIDispatch.get(String name)
Performs a
propget for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.get(String name,
Object[] inparams)
Performs a
propget for the method identified by the
name parameter. |
| Modifier and Type | Method and Description |
|---|---|
void |
IJIDispatch.put(int dispId,
JIVariant inparam)
Performs a
propput for the method identified by the
dispId. |
void |
IJIDispatch.put(String name,
JIVariant inparam)
Performs a
propput for the method identified by the
name parameter. |
void |
IJIDispatch.putRef(int dispId,
JIVariant inparam)
Performs a
propputref for the method identified by the
dispId. |
void |
IJIDispatch.putRef(String name,
JIVariant inparam)
Performs a
propput for the method identified by the
name parameter. |
Copyright © 2022. All rights reserved.