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

Class TypeLibUtil



  • public class TypeLibUtil
    extends java.lang.Object
    Wrapper class for the class ITypeLibUtil.
    Author:
    wolf.tobias@gmx.net The Class ITypeLibUtil.
    • Field Detail

      • OLEAUTO

        public static final OleAuto OLEAUTO
        The Constant OLEAUTO.
    • Constructor Detail

      • TypeLibUtil

        public TypeLibUtil(java.lang.String clsidStr,
                           int wVerMajor,
                           int wVerMinor)
        Instantiates a new i type lib util.
        Parameters:
        clsidStr - the clsid str
        wVerMajor - the w ver major
        wVerMinor - the w ver minor
      • TypeLibUtil

        public TypeLibUtil(java.lang.String file)
    • Method Detail

      • getTypeInfoCount

        public int getTypeInfoCount()
        Gets the type info count.
        Returns:
        the type info count
      • getTypeInfoType

        public OaIdl.TYPEKIND getTypeInfoType(int index)
        Gets the type info type.
        Parameters:
        index - the index
        Returns:
        the type info type
      • getTypeInfo

        public ITypeInfo getTypeInfo(int index)
        Gets the type info.
        Parameters:
        index - the index
        Returns:
        the type info
      • getTypeInfoUtil

        public TypeInfoUtil getTypeInfoUtil(int index)
        Gets the type info util.
        Parameters:
        index - the index
        Returns:
        the type info util
      • getLibAttr

        public OaIdl.TLIBATTR getLibAttr()
        Gets the lib attr.
        Returns:
        the lib attr
      • GetTypeComp

        public TypeComp GetTypeComp()
        Gets the type comp.
        Returns:
        the i type comp. by reference
      • getDocumentation

        public TypeLibUtil.TypeLibDoc getDocumentation(int index)
        Gets the documentation.
        Parameters:
        index - the index
        Returns:
        the documentation
      • IsName

        public TypeLibUtil.IsName IsName(java.lang.String nameBuf,
                                         int hashVal)
        Checks if is name.
        Parameters:
        nameBuf - the name buf
        hashVal - the hash val
        Returns:
        the checks if is name
      • FindName

        public TypeLibUtil.FindName FindName(java.lang.String name,
                                             int hashVal,
                                             short maxResult)
        Find name.
        Parameters:
        name - the name
        hashVal - the hash val or 0 if unknown
        maxResult - maximum number of items to search
        Returns:
        the find name
      • ReleaseTLibAttr

        public void ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)
        Release t lib attr.
        Parameters:
        pTLibAttr - the t lib attr
      • getLcid

        public WinDef.LCID getLcid()
        Gets the lcid.
        Returns:
        the lcid
      • getTypelib

        public ITypeLib getTypelib()
        Gets the typelib.
        Returns:
        the typelib
      • getName

        public java.lang.String getName()
        Gets the name.
        Returns:
        the name
      • getDocString

        public java.lang.String getDocString()
        Gets the doc string.
        Returns:
        the doc string
      • getHelpContext

        public int getHelpContext()
        Gets the help context.
        Returns:
        the help context
      • getHelpFile

        public java.lang.String getHelpFile()
        Gets the help file.
        Returns:
        the help file
JNA API 5.6.0

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