Package com.sun.jna.platform.win32.COM
Class TypeInfoUtil
java.lang.Object
com.sun.jna.platform.win32.COM.TypeInfoUtil
The Class ITypeInfoUtil.
- Author:
- wolf.tobias@gmx.net The Class ITypeInfoUtil.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The Class ContainingTypeLib.static class
The Class DllEntry.static class
The Class Invoke.static class
The Class TypeInfoDoc. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAddressOfMember
(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind) Address of member.CreateInstance
(IUnknown pUnkOuter, Guid.REFIID riid) Creates the instance.Gets the containing type lib.GetDllEntry
(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind) Gets the dll entry.getDocumentation
(OaIdl.MEMBERID memid) Gets the documentation.getFuncDesc
(int index) Gets the func desc.getIDsOfNames
(WTypes.LPOLESTR[] rgszNames, int cNames) Gets the i ds of names.int
getImplTypeFlags
(int index) Gets the impl type flags.GetMops
(OaIdl.MEMBERID memid) Gets the mops.String[]
getNames
(OaIdl.MEMBERID memid, int maxNames) Gets the names.getRefTypeInfo
(OaIdl.HREFTYPE hreftype) Gets the ref type info.getRefTypeOfImplType
(int index) Gets the ref type of impl type.Gets the type attr.Gets the type comp.getVarDesc
(int index) Gets the var desc.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.
-
Field Details
-
OLEAUTO
The Constant OLEAUTO.
-
-
Constructor Details
-
TypeInfoUtil
Instantiates a new i type info util.- Parameters:
typeInfo
- the type info
-
-
Method Details
-
getTypeAttr
Gets the type attr.- Returns:
- the type attr
-
getTypeComp
Gets the type comp.- Returns:
- the type comp
-
getFuncDesc
Gets the func desc.- Parameters:
index
- the index- Returns:
- the func desc
-
getVarDesc
Gets the var desc.- Parameters:
index
- the index- Returns:
- the var desc
-
getNames
Gets the names.- Parameters:
memid
- the memidmaxNames
- the max names- Returns:
- the names
-
getRefTypeOfImplType
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
Gets the i ds of names.- Parameters:
rgszNames
- the rgsz namescNames
- the c names- Returns:
- the i ds of names
-
Invoke
public TypeInfoUtil.Invoke Invoke(WinDef.PVOID pvInstance, OaIdl.MEMBERID memid, WinDef.WORD wFlags, OleAuto.DISPPARAMS.ByReference pDispParams) Invoke.- Parameters:
pvInstance
- the pv instancememid
- the memidwFlags
- the w flagspDispParams
- the disp params- Returns:
- the invoke
-
getDocumentation
Gets the documentation.- Parameters:
memid
- the memid- Returns:
- the documentation
-
GetDllEntry
Gets the dll entry.- Parameters:
memid
- the memidinvKind
- the inv kind- Returns:
- the dll entry
-
getRefTypeInfo
Gets the ref type info.- Parameters:
hreftype
- the hreftype- Returns:
- the ref type info
-
AddressOfMember
Address of member.- Parameters:
memid
- the memidinvKind
- the inv kind- Returns:
- the pointer by reference
-
CreateInstance
Creates the instance.- Parameters:
pUnkOuter
- the unk outerriid
- the riid- Returns:
- the pointer by reference
-
GetMops
Gets the mops.- Parameters:
memid
- the memid- Returns:
- the string
-
GetContainingTypeLib
Gets the containing type lib.- Returns:
- the containing type lib
-
ReleaseTypeAttr
Release type attr.- Parameters:
pTypeAttr
- the type attr
-
ReleaseFuncDesc
Release func desc.- Parameters:
pFuncDesc
- the func desc
-
ReleaseVarDesc
Release var desc.- Parameters:
pVarDesc
- the var desc
-