Package com.sun.jna.platform.win32.COM
Class TypeLibUtil
java.lang.Object
com.sun.jna.platform.win32.COM.TypeLibUtil
Wrapper class for the class ITypeLibUtil.
- Author:
- wolf.tobias@gmx.net The Class ITypeLibUtil.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The Class FindName.static class
The Class IsName.static class
The Class TypeLibDoc. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTypeLibUtil
(String file) TypeLibUtil
(String clsidStr, int wVerMajor, int wVerMinor) Instantiates a new i type lib util. -
Method Summary
Modifier and TypeMethodDescriptionFind name.Gets the doc string.getDocumentation
(int index) Gets the documentation.int
Gets the help context.Gets the help file.getLcid()
Gets the lcid.Gets the lib attr.getName()
Gets the name.Gets the type comp.getTypeInfo
(int index) Gets the type info.int
Gets the type info count.getTypeInfoType
(int index) Gets the type info type.getTypeInfoUtil
(int index) Gets the type info util.Gets the typelib.Checks if is name.void
ReleaseTLibAttr
(OaIdl.TLIBATTR pTLibAttr) Release t lib attr.
-
Field Details
-
OLEAUTO
The Constant OLEAUTO.
-
-
Constructor Details
-
TypeLibUtil
Instantiates a new i type lib util.- Parameters:
clsidStr
- the clsid strwVerMajor
- the w ver majorwVerMinor
- the w ver minor
-
TypeLibUtil
-
-
Method Details
-
getTypeInfoCount
public int getTypeInfoCount()Gets the type info count.- Returns:
- the type info count
-
getTypeInfoType
Gets the type info type.- Parameters:
index
- the index- Returns:
- the type info type
-
getTypeInfo
Gets the type info.- Parameters:
index
- the index- Returns:
- the type info
-
getTypeInfoUtil
Gets the type info util.- Parameters:
index
- the index- Returns:
- the type info util
-
getLibAttr
Gets the lib attr.- Returns:
- the lib attr
-
GetTypeComp
Gets the type comp.- Returns:
- the i type comp. by reference
-
getDocumentation
Gets the documentation.- Parameters:
index
- the index- Returns:
- the documentation
-
IsName
Checks if is name.- Parameters:
nameBuf
- the name bufhashVal
- the hash val- Returns:
- the checks if is name
-
FindName
Find name.- Parameters:
name
- the namehashVal
- the hash val or 0 if unknownmaxResult
- maximum number of items to search- Returns:
- the find name
-
ReleaseTLibAttr
Release t lib attr.- Parameters:
pTLibAttr
- the t lib attr
-
getLcid
Gets the lcid.- Returns:
- the lcid
-
getTypelib
Gets the typelib.- Returns:
- the typelib
-
getName
Gets the name.- Returns:
- the name
-
getDocString
Gets the doc string.- Returns:
- the doc string
-
getHelpContext
public int getHelpContext()Gets the help context.- Returns:
- the help context
-
getHelpFile
Gets the help file.- Returns:
- the help file
-