Package com.sun.jna.platform.win32.COM
Class TypeLibUtil
- java.lang.Object
-
- com.sun.jna.platform.win32.COM.TypeLibUtil
-
public class TypeLibUtil extends java.lang.ObjectWrapper class for the class ITypeLibUtil.- Author:
- wolf.tobias@gmx.net The Class ITypeLibUtil.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeLibUtil.FindNameThe Class FindName.static classTypeLibUtil.IsNameThe Class IsName.static classTypeLibUtil.TypeLibDocThe Class TypeLibDoc.
-
Constructor Summary
Constructors Constructor Description TypeLibUtil(java.lang.String file)TypeLibUtil(java.lang.String clsidStr, int wVerMajor, int wVerMinor)Instantiates a new i type lib util.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeLibUtil.FindNameFindName(java.lang.String name, int hashVal, short maxResult)Find name.java.lang.StringgetDocString()Gets the doc string.TypeLibUtil.TypeLibDocgetDocumentation(int index)Gets the documentation.intgetHelpContext()Gets the help context.java.lang.StringgetHelpFile()Gets the help file.WinDef.LCIDgetLcid()Gets the lcid.OaIdl.TLIBATTRgetLibAttr()Gets the lib attr.java.lang.StringgetName()Gets the name.TypeCompGetTypeComp()Gets the type comp.ITypeInfogetTypeInfo(int index)Gets the type info.intgetTypeInfoCount()Gets the type info count.OaIdl.TYPEKINDgetTypeInfoType(int index)Gets the type info type.TypeInfoUtilgetTypeInfoUtil(int index)Gets the type info util.ITypeLibgetTypelib()Gets the typelib.TypeLibUtil.IsNameIsName(java.lang.String nameBuf, int hashVal)Checks if is name.voidReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)Release t lib attr.
-
-
-
Field Detail
-
OLEAUTO
public static final OleAuto OLEAUTO
The Constant OLEAUTO.
-
-
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 bufhashVal- 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 namehashVal- the hash val or 0 if unknownmaxResult- 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
-
-