Package com.sun.jna.platform.win32
Klasse OaIdlUtil
java.lang.Object
com.sun.jna.platform.win32.OaIdlUtil
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Object
toPrimitiveArray
(OaIdl.SAFEARRAY sa, boolean destruct) Read SAFEARRAY into a java array.
-
Konstruktordetails
-
OaIdlUtil
public OaIdlUtil()
-
-
Methodendetails
-
toPrimitiveArray
Read SAFEARRAY into a java array. Not all VARTYPEs are supported!Supported types:
- VT_BOOL
- VT_UI1
- VT_I1
- VT_UI2
- VT_I2
- VT_UI4
- VT_UINT
- VT_I4
- VT_INT
- VT_ERROR
- VT_R4
- VT_R8
- VT_DATE
- VT_BSTR
- VT_VARIANT (Onle the following VARTYPES):
- VT_EMPTY (converted to NULL)
- VT_NULL
- VT_BOOL
- VT_UI1
- VT_I1
- VT_UI2
- VT_I2
- VT_UI4
- VT_UINT
- VT_I4
- VT_INT
- VT_ERROR
- VT_R4
- VT_R8
- VT_DATE
- VT_BSTR
- Parameter:
sa
- SAFEARRAY to convertdestruct
- if true the supplied SAFEARRAY is destroyed, there must not be additional locks on the array!- Gibt zurück:
- Java array corresponding to the given SAFEARRAY
-