Skip navigation links
JNA API 5.6.0
com.sun.jna.platform.win32

Class OaIdlUtil



  • public abstract class OaIdlUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      OaIdlUtil() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.Object toPrimitiveArray(OaIdl.SAFEARRAY sa, boolean destruct)
      Read SAFEARRAY into a java array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OaIdlUtil

        public OaIdlUtil()
    • Method Detail

      • toPrimitiveArray

        public static java.lang.Object toPrimitiveArray(OaIdl.SAFEARRAY sa,
                                                        boolean destruct)
        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
        Parameters:
        sa - SAFEARRAY to convert
        destruct - if true the supplied SAFEARRAY is destroyed, there must not be additional locks on the array!
        Returns:
        Java array corresponding to the given SAFEARRAY
JNA API 5.6.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.