public class TypeInfoUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeInfoUtil.ContainingTypeLib
The Class ContainingTypeLib.
|
static class |
TypeInfoUtil.DllEntry
The Class DllEntry.
|
static class |
TypeInfoUtil.Invoke
The Class Invoke.
|
static class |
TypeInfoUtil.TypeInfoDoc
The Class TypeInfoDoc.
|
| Modifier and Type | Field and Description |
|---|---|
static OleAuto |
OLEAUTO
The Constant OLEAUTO.
|
| Constructor and Description |
|---|
TypeInfoUtil(ITypeInfo typeInfo)
Instantiates a new i type info util.
|
| Modifier and Type | Method and Description |
|---|---|
PointerByReference |
AddressOfMember(OaIdl.MEMBERID memid,
OaIdl.INVOKEKIND invKind)
Address of member.
|
PointerByReference |
CreateInstance(IUnknown pUnkOuter,
Guid.REFIID riid)
Creates the instance.
|
TypeInfoUtil.ContainingTypeLib |
GetContainingTypeLib()
Gets the containing type lib.
|
TypeInfoUtil.DllEntry |
GetDllEntry(OaIdl.MEMBERID memid,
OaIdl.INVOKEKIND invKind)
Gets the dll entry.
|
TypeInfoUtil.TypeInfoDoc |
getDocumentation(OaIdl.MEMBERID memid)
Gets the documentation.
|
OaIdl.FUNCDESC |
getFuncDesc(int index)
Gets the func desc.
|
OaIdl.MEMBERID[] |
getIDsOfNames(WTypes.LPOLESTR[] rgszNames,
int cNames)
Gets the i ds of names.
|
int |
getImplTypeFlags(int index)
Gets the impl type flags.
|
java.lang.String |
GetMops(OaIdl.MEMBERID memid)
Gets the mops.
|
java.lang.String[] |
getNames(OaIdl.MEMBERID memid,
int maxNames)
Gets the names.
|
ITypeInfo |
getRefTypeInfo(OaIdl.HREFTYPE hreftype)
Gets the ref type info.
|
OaIdl.HREFTYPE |
getRefTypeOfImplType(int index)
Gets the ref type of impl type.
|
OaIdl.TYPEATTR |
getTypeAttr()
Gets the type attr.
|
TypeComp |
getTypeComp()
Gets the type comp.
|
OaIdl.VARDESC |
getVarDesc(int index)
Gets the var desc.
|
TypeInfoUtil.Invoke |
Invoke(WinDef.PVOID pvInstance,
OaIdl.MEMBERID memid,
WinDef.WORD wFlags,
OleAuto.DISPPARAMS.ByReference pDispParams)
Invoke.
|
void |
ReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc)
Release func desc.
|
void |
ReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr)
Release type attr.
|
void |
ReleaseVarDesc(OaIdl.VARDESC pVarDesc)
Release var desc.
|
public static final OleAuto OLEAUTO
public TypeInfoUtil(ITypeInfo typeInfo)
typeInfo - the type infopublic OaIdl.TYPEATTR getTypeAttr()
public TypeComp getTypeComp()
public OaIdl.FUNCDESC getFuncDesc(int index)
index - the indexpublic OaIdl.VARDESC getVarDesc(int index)
index - the indexpublic java.lang.String[] getNames(OaIdl.MEMBERID memid, int maxNames)
memid - the memidmaxNames - the max namespublic OaIdl.HREFTYPE getRefTypeOfImplType(int index)
index - the indexpublic int getImplTypeFlags(int index)
index - the indexpublic OaIdl.MEMBERID[] getIDsOfNames(WTypes.LPOLESTR[] rgszNames, int cNames)
rgszNames - the rgsz namescNames - the c namespublic TypeInfoUtil.Invoke Invoke(WinDef.PVOID pvInstance, OaIdl.MEMBERID memid, WinDef.WORD wFlags, OleAuto.DISPPARAMS.ByReference pDispParams)
pvInstance - the pv instancememid - the memidwFlags - the w flagspDispParams - the disp paramspublic TypeInfoUtil.TypeInfoDoc getDocumentation(OaIdl.MEMBERID memid)
memid - the memidpublic TypeInfoUtil.DllEntry GetDllEntry(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind)
memid - the memidinvKind - the inv kindpublic ITypeInfo getRefTypeInfo(OaIdl.HREFTYPE hreftype)
hreftype - the hreftypepublic PointerByReference AddressOfMember(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind)
memid - the memidinvKind - the inv kindpublic PointerByReference CreateInstance(IUnknown pUnkOuter, Guid.REFIID riid)
pUnkOuter - the unk outerriid - the riidpublic java.lang.String GetMops(OaIdl.MEMBERID memid)
memid - the memidpublic TypeInfoUtil.ContainingTypeLib GetContainingTypeLib()
public void ReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr)
pTypeAttr - the type attrpublic void ReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc)
pFuncDesc - the func descpublic void ReleaseVarDesc(OaIdl.VARDESC pVarDesc)
pVarDesc - the var desc