OleAutoUtil (JNA API)

com.sun.jna.platform.win32

## Class OleAutoUtil

- java.lang.Object
- - com.sun.jna.platform.win32.OleAutoUtil

-     public abstract class OleAutoUtil
      extends java.lang.Object

  The Class OleAut32Util.
  Author:
    Tobias Wolf, wolf.tobias@gmx.net

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OleAutoUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static OaIdl.SAFEARRAY.ByReference` | `createVarArray(int size)` Creates a new the variant array.
    `static Variant.VARIANT` | `SafeArrayGetElement(OaIdl.SAFEARRAY array, long index)` Safe array get element.
    `static void` | `SafeArrayPutElement(OaIdl.SAFEARRAY array, long index, Variant.VARIANT arg)` Safe array put element.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

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