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

Class TypeInfoUtil



  • public class TypeInfoUtil
    extends java.lang.Object
    The Class ITypeInfoUtil.
    Author:
    wolf.tobias@gmx.net The Class ITypeInfoUtil.
    • Field Detail

      • OLEAUTO

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

      • TypeInfoUtil

        public TypeInfoUtil(ITypeInfo typeInfo)
        Instantiates a new i type info util.
        Parameters:
        typeInfo - the type info
    • Method Detail

      • getTypeAttr

        public OaIdl.TYPEATTR getTypeAttr()
        Gets the type attr.
        Returns:
        the type attr
      • getTypeComp

        public TypeComp getTypeComp()
        Gets the type comp.
        Returns:
        the type comp
      • getFuncDesc

        public OaIdl.FUNCDESC getFuncDesc(int index)
        Gets the func desc.
        Parameters:
        index - the index
        Returns:
        the func desc
      • getVarDesc

        public OaIdl.VARDESC getVarDesc(int index)
        Gets the var desc.
        Parameters:
        index - the index
        Returns:
        the var desc
      • getNames

        public java.lang.String[] getNames(OaIdl.MEMBERID memid,
                                           int maxNames)
        Gets the names.
        Parameters:
        memid - the memid
        maxNames - the max names
        Returns:
        the names
      • getRefTypeOfImplType

        public OaIdl.HREFTYPE getRefTypeOfImplType(int index)
        Gets the ref type of impl type.
        Parameters:
        index - the index
        Returns:
        the ref type of impl type
      • getImplTypeFlags

        public int getImplTypeFlags(int index)
        Gets the impl type flags.
        Parameters:
        index - the index
        Returns:
        the impl type flags
      • getIDsOfNames

        public OaIdl.MEMBERID[] getIDsOfNames(WTypes.LPOLESTR[] rgszNames,
                                              int cNames)
        Gets the i ds of names.
        Parameters:
        rgszNames - the rgsz names
        cNames - the c names
        Returns:
        the i ds of names
      • getRefTypeInfo

        public ITypeInfo getRefTypeInfo(OaIdl.HREFTYPE hreftype)
        Gets the ref type info.
        Parameters:
        hreftype - the hreftype
        Returns:
        the ref type info
      • CreateInstance

        public PointerByReference CreateInstance(IUnknown pUnkOuter,
                                                 Guid.REFIID riid)
        Creates the instance.
        Parameters:
        pUnkOuter - the unk outer
        riid - the riid
        Returns:
        the pointer by reference
      • GetMops

        public java.lang.String GetMops(OaIdl.MEMBERID memid)
        Gets the mops.
        Parameters:
        memid - the memid
        Returns:
        the string
      • ReleaseTypeAttr

        public void ReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr)
        Release type attr.
        Parameters:
        pTypeAttr - the type attr
      • ReleaseFuncDesc

        public void ReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc)
        Release func desc.
        Parameters:
        pFuncDesc - the func desc
      • ReleaseVarDesc

        public void ReleaseVarDesc(OaIdl.VARDESC pVarDesc)
        Release var desc.
        Parameters:
        pVarDesc - the var desc
JNA API 5.10.0

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