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

Class OleAutoUtil



  • public abstract class OleAutoUtil
    extends Object
    The Class OleAut32Util.
    Author:
    Tobias Wolf, wolf.tobias@gmx.net
    • Constructor Detail

      • OleAutoUtil

        public OleAutoUtil()
    • Method Detail

      • createVarArray

        public static OaIdl.SAFEARRAY.ByReference createVarArray(int size)
        Creates a new the variant array.
        Parameters:
        size - the size
        Returns:
        the sAFEARRA y. by reference
      • SafeArrayPutElement

        public static void SafeArrayPutElement(OaIdl.SAFEARRAY array,
                                               long index,
                                               Variant.VARIANT arg)
        Safe array put element.
        Parameters:
        array - the array
        index - the index
        arg - the arg
      • SafeArrayGetElement

        public static Variant.VARIANT SafeArrayGetElement(OaIdl.SAFEARRAY array,
                                                          long index)
        Safe array get element.
        Parameters:
        array - the array
        index - the index
        Returns:
        the variant
JNA API 4.2.1

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