public class TypeLibUtil extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
TypeLibUtil.FindName |
The Class FindName.
|
static class |
TypeLibUtil.IsName |
The Class IsName.
|
static class |
TypeLibUtil.TypeLibDoc |
The Class TypeLibDoc.
|
Modifier and Type | Field | Description |
---|---|---|
static OleAuto |
OLEAUTO |
The Constant OLEAUTO.
|
Constructor | Description |
---|---|
TypeLibUtil(String file) |
|
TypeLibUtil(String clsidStr,
int wVerMajor,
int wVerMinor) |
Instantiates a new i type lib util.
|
Modifier and Type | Method | Description |
---|---|---|
TypeLibUtil.FindName |
FindName(String name,
int hashVal,
short maxResult) |
Find name.
|
String |
getDocString() |
Gets the doc string.
|
TypeLibUtil.TypeLibDoc |
getDocumentation(int index) |
Gets the documentation.
|
int |
getHelpContext() |
Gets the help context.
|
String |
getHelpFile() |
Gets the help file.
|
WinDef.LCID |
getLcid() |
Gets the lcid.
|
OaIdl.TLIBATTR |
getLibAttr() |
Gets the lib attr.
|
String |
getName() |
Gets the name.
|
TypeComp |
GetTypeComp() |
Gets the type comp.
|
ITypeInfo |
getTypeInfo(int index) |
Gets the type info.
|
int |
getTypeInfoCount() |
Gets the type info count.
|
OaIdl.TYPEKIND |
getTypeInfoType(int index) |
Gets the type info type.
|
TypeInfoUtil |
getTypeInfoUtil(int index) |
Gets the type info util.
|
ITypeLib |
getTypelib() |
Gets the typelib.
|
TypeLibUtil.IsName |
IsName(String nameBuf,
int hashVal) |
Checks if is name.
|
void |
ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr) |
Release t lib attr.
|
public static final OleAuto OLEAUTO
public TypeLibUtil(String clsidStr, int wVerMajor, int wVerMinor)
clsidStr
- the clsid strwVerMajor
- the w ver majorwVerMinor
- the w ver minorpublic TypeLibUtil(String file)
public int getTypeInfoCount()
public OaIdl.TYPEKIND getTypeInfoType(int index)
index
- the indexpublic ITypeInfo getTypeInfo(int index)
index
- the indexpublic TypeInfoUtil getTypeInfoUtil(int index)
index
- the indexpublic OaIdl.TLIBATTR getLibAttr()
public TypeComp GetTypeComp()
public TypeLibUtil.TypeLibDoc getDocumentation(int index)
index
- the indexpublic TypeLibUtil.IsName IsName(String nameBuf, int hashVal)
nameBuf
- the name bufhashVal
- the hash valpublic TypeLibUtil.FindName FindName(String name, int hashVal, short maxResult)
name
- the namehashVal
- the hash val or 0 if unknownmaxResult
- maximum number of items to searchpublic void ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)
pTLibAttr
- the t lib attrpublic WinDef.LCID getLcid()
public ITypeLib getTypelib()
public String getName()
public String getDocString()
public int getHelpContext()
public String getHelpFile()