Top Description Inners Fields Constructors Methods
com.sun.jna.platform.win32.COM

public Class TypeInfoUtil

extends Object
Class Inheritance
Imports
com.sun.jna.platform.win32.Guid.REFIID, .OaIdl.EXCEPINFO, .OaIdl.FUNCDESC, .OaIdl.HREFTYPE, .OaIdl.HREFTYPEByReference, .OaIdl.INVOKEKIND, .OaIdl.MEMBERID, .OaIdl.TYPEATTR, .OaIdl.VARDESC, .OleAuto, .OleAuto.DISPPARAMS, .Variant.VARIANT, .WTypes.BSTR, .WTypes.BSTRByReference, .WTypes.LPOLESTR, .WinDef.DWORDByReference, .WinDef.PVOID, .WinDef.UINT, .WinDef.UINTByReference, .WinDef.WORD, .WinDef.WORDByReference, .WinNT.HRESULT, com.sun.jna.ptr.IntByReference, .PointerByReference

The Class ITypeInfoUtil.
Author
[email protected] The Class ITypeInfoUtil.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
TypeInfoUtil.ContainingTypeLib

The Class ContainingTypeLib.

public static class
TypeInfoUtil.DllEntry

The Class DllEntry.

public static class
TypeInfoUtil.Invoke

The Class Invoke.

public static class
TypeInfoUtil.TypeInfoDoc

The Class TypeInfoDoc.

Field Summary

Modifier and TypeField and Description
public static final OleAuto
OLEAUTO

The Constant OLEAUTO.

private ITypeInfo
typeInfo

The type info.

Constructor Summary

AccessConstructor and Description
public
TypeInfoUtil(ITypeInfo
the type info
typeInfo
)

Instantiates a new i type info util.

Method Summary

Modifier and TypeMethod and Description
public PointerByReference

Returns:

the pointer by reference
AddressOfMember
(OaIdl.MEMBERID
the memid
memid
,
OaIdl.INVOKEKIND
the inv kind
invKind
)

Address of member.

public PointerByReference

Returns:

the pointer by reference
CreateInstance
(IUnknown
the unk outer
pUnkOuter
,
Guid.REFIID
the riid
riid
)

Creates the instance.

public TypeInfoUtil.ContainingTypeLib

Returns:

the containing type lib
GetContainingTypeLib
()

Gets the containing type lib.

public TypeInfoUtil.DllEntry

Returns:

the dll entry
GetDllEntry
(OaIdl.MEMBERID
the memid
memid
,
OaIdl.INVOKEKIND
the inv kind
invKind
)

Gets the dll entry.

public TypeInfoUtil.TypeInfoDoc

Returns:

the documentation
getDocumentation
(OaIdl.MEMBERID
the memid
memid
)

Gets the documentation.

public OaIdl.FUNCDESC

Returns:

the func desc
getFuncDesc
(int
the index
index
)

Gets the func desc.

public OaIdl.MEMBERID[]

Returns:

the i ds of names
getIDsOfNames
(WTypes.LPOLESTR[]
the rgsz names
rgszNames
,
int
the c names
cNames
)

Gets the i ds of names.

public int

Returns:

the impl type flags
getImplTypeFlags
(int
the index
index
)

Gets the impl type flags.

public String

Returns:

the string
GetMops
(OaIdl.MEMBERID
the memid
memid
)

Gets the mops.

public String[]

Returns:

the names
getNames
(OaIdl.MEMBERID
the memid
memid
,
int
the max names
maxNames
)

Gets the names.

public ITypeInfo

Returns:

the ref type info
getRefTypeInfo
(OaIdl.HREFTYPE
the hreftype
hreftype
)

Gets the ref type info.

public OaIdl.HREFTYPE

Returns:

the ref type of impl type
getRefTypeOfImplType
(int
the index
index
)

Gets the ref type of impl type.

public OaIdl.TYPEATTR

Returns:

the type attr
getTypeAttr
()

Gets the type attr.

public TypeComp

Returns:

the type comp
getTypeComp
()

Gets the type comp.

public OaIdl.VARDESC

Returns:

the var desc
getVarDesc
(int
the index
index
)

Gets the var desc.

public TypeInfoUtil.Invoke

Returns:

the invoke
Invoke
(WinDef.PVOID
the pv instance
pvInstance
,
OaIdl.MEMBERID
the memid
memid
,
WinDef.WORD
the w flags
wFlags
,
OleAuto.DISPPARAMS.ByReference
the disp params
pDispParams
)

Invoke.

public void
ReleaseFuncDesc(OaIdl.FUNCDESC
the func desc
pFuncDesc
)

Release func desc.

public void
ReleaseTypeAttr(OaIdl.TYPEATTR
the type attr
pTypeAttr
)

Release type attr.

public void
ReleaseVarDesc(OaIdl.VARDESC
the var desc
pVarDesc
)

Release var desc.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

OLEAUTOback to summary
public static final OleAuto OLEAUTO

The Constant OLEAUTO.

typeInfoback to summary
private ITypeInfo typeInfo

The type info.

Constructor Detail

TypeInfoUtilback to summary
public TypeInfoUtil(ITypeInfo typeInfo)

Instantiates a new i type info util.

Parameters
typeInfo:ITypeInfo

the type info

Method Detail

AddressOfMemberback to summary
public PointerByReference AddressOfMember(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind)

Address of member.

Parameters
memid:OaIdl.MEMBERID

the memid

invKind:OaIdl.INVOKEKIND

the inv kind

Returns:PointerByReference

the pointer by reference

CreateInstanceback to summary
public PointerByReference CreateInstance(IUnknown pUnkOuter, Guid.REFIID riid)

Creates the instance.

Parameters
pUnkOuter:IUnknown

the unk outer

riid:Guid.REFIID

the riid

Returns:PointerByReference

the pointer by reference

GetContainingTypeLibback to summary
public TypeInfoUtil.ContainingTypeLib GetContainingTypeLib()

Gets the containing type lib.

Returns:TypeInfoUtil.ContainingTypeLib

the containing type lib

GetDllEntryback to summary
public TypeInfoUtil.DllEntry GetDllEntry(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind)

Gets the dll entry.

Parameters
memid:OaIdl.MEMBERID

the memid

invKind:OaIdl.INVOKEKIND

the inv kind

Returns:TypeInfoUtil.DllEntry

the dll entry

getDocumentationback to summary
public TypeInfoUtil.TypeInfoDoc getDocumentation(OaIdl.MEMBERID memid)

Gets the documentation.

Parameters
memid:OaIdl.MEMBERID

the memid

Returns:TypeInfoUtil.TypeInfoDoc

the documentation

getFuncDescback to summary
public OaIdl.FUNCDESC getFuncDesc(int index)

Gets the func desc.

Parameters
index:int

the index

Returns:OaIdl.FUNCDESC

the func desc

getIDsOfNamesback to summary
public OaIdl.MEMBERID[] getIDsOfNames(WTypes.LPOLESTR[] rgszNames, int cNames)

Gets the i ds of names.

Parameters
rgszNames:WTypes.LPOLESTR[]

the rgsz names

cNames:int

the c names

Returns:OaIdl.MEMBERID[]

the i ds of names

getImplTypeFlagsback to summary
public int getImplTypeFlags(int index)

Gets the impl type flags.

Parameters
index:int

the index

Returns:int

the impl type flags

GetMopsback to summary
public String GetMops(OaIdl.MEMBERID memid)

Gets the mops.

Parameters
memid:OaIdl.MEMBERID

the memid

Returns:String

the string

getNamesback to summary
public String[] getNames(OaIdl.MEMBERID memid, int maxNames)

Gets the names.

Parameters
memid:OaIdl.MEMBERID

the memid

maxNames:int

the max names

Returns:String[]

the names

getRefTypeInfoback to summary
public ITypeInfo getRefTypeInfo(OaIdl.HREFTYPE hreftype)

Gets the ref type info.

Parameters
hreftype:OaIdl.HREFTYPE

the hreftype

Returns:ITypeInfo

the ref type info

getRefTypeOfImplTypeback to summary
public OaIdl.HREFTYPE getRefTypeOfImplType(int index)

Gets the ref type of impl type.

Parameters
index:int

the index

Returns:OaIdl.HREFTYPE

the ref type of impl type

getTypeAttrback to summary
public OaIdl.TYPEATTR getTypeAttr()

Gets the type attr.

Returns:OaIdl.TYPEATTR

the type attr

getTypeCompback to summary
public TypeComp getTypeComp()

Gets the type comp.

Returns:TypeComp

the type comp

getVarDescback to summary
public OaIdl.VARDESC getVarDesc(int index)

Gets the var desc.

Parameters
index:int

the index

Returns:OaIdl.VARDESC

the var desc

Invokeback to summary
public TypeInfoUtil.Invoke Invoke(WinDef.PVOID pvInstance, OaIdl.MEMBERID memid, WinDef.WORD wFlags, OleAuto.DISPPARAMS.ByReference pDispParams)

Invoke.

Parameters
pvInstance:WinDef.PVOID

the pv instance

memid:OaIdl.MEMBERID

the memid

wFlags:WinDef.WORD

the w flags

pDispParams:OleAuto.DISPPARAMS.ByReference

the disp params

Returns:TypeInfoUtil.Invoke

the invoke

ReleaseFuncDescback to summary
public void ReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc)

Release func desc.

Parameters
pFuncDesc:OaIdl.FUNCDESC

the func desc

ReleaseTypeAttrback to summary
public void ReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr)

Release type attr.

Parameters
pTypeAttr:OaIdl.TYPEATTR

the type attr

ReleaseVarDescback to summary
public void ReleaseVarDesc(OaIdl.VARDESC pVarDesc)

Release var desc.

Parameters
pVarDesc:OaIdl.VARDESC

the var desc

com.sun.jna.platform.win32.COM back to summary

public Class TypeInfoUtil.ContainingTypeLib

extends Object
Class Inheritance
  • java.lang.Object
  • com.sun.jna.platform.win32.COM.TypeInfoUtil.ContainingTypeLib

The Class ContainingTypeLib.
Author
[email protected] The Class ContainingTypeLib.

Field Summary

Modifier and TypeField and Description
private int
index

The index.

private ITypeLib
typeLib

The type lib.

Constructor Summary

AccessConstructor and Description
public
ContainingTypeLib(ITypeLib
the type lib
typeLib
,
int
the index
index
)

Instantiates a new containing type lib.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the index
getIndex
()

Gets the index.

public ITypeLib

Returns:

the type lib
getTypeLib
()

Gets the type lib.

public void
setIndex(int
the new index
index
)

Sets the index.

public void
setTypeLib(ITypeLib
the new type lib
typeLib
)

Sets the type lib.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private int index

The index.

typeLibback to summary
private ITypeLib typeLib

The type lib.

Constructor Detail

ContainingTypeLibback to summary
public ContainingTypeLib(ITypeLib typeLib, int index)

Instantiates a new containing type lib.

Parameters
typeLib:ITypeLib

the type lib

index:int

the index

Method Detail

getIndexback to summary
public int getIndex()

Gets the index.

Returns:int

the index

getTypeLibback to summary
public ITypeLib getTypeLib()

Gets the type lib.

Returns:ITypeLib

the type lib

setIndexback to summary
public void setIndex(int index)

Sets the index.

Parameters
index:int

the new index

setTypeLibback to summary
public void setTypeLib(ITypeLib typeLib)

Sets the type lib.

Parameters
typeLib:ITypeLib

the new type lib

com.sun.jna.platform.win32.COM back to summary

public Class TypeInfoUtil.DllEntry

extends Object
Class Inheritance

The Class DllEntry.
Author
[email protected] The Class DllEntry.

Field Summary

Modifier and TypeField and Description
private String
dllName

The dll name.

private String
name

The name.

private int
ordinal

The ordinal.

Constructor Summary

AccessConstructor and Description
public
DllEntry(String
the dll name
dllName
,
String
the name
name
,
int
the ordinal
ordinal
)

Instantiates a new dll entry.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the dll name
getDllName
()

Gets the dll name.

public String

Returns:

the name
getName
()

Gets the name.

public int

Returns:

the ordinal
getOrdinal
()

Gets the ordinal.

public void
setDllName(String
the new dll name
dllName
)

Sets the dll name.

public void
setName(String
the new name
name
)

Sets the name.

public void
setOrdinal(int
the new ordinal
ordinal
)

Sets the ordinal.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dllNameback to summary
private String dllName

The dll name.

nameback to summary
private String name

The name.

ordinalback to summary
private int ordinal

The ordinal.

Constructor Detail

DllEntryback to summary
public DllEntry(String dllName, String name, int ordinal)

Instantiates a new dll entry.

Parameters
dllName:String

the dll name

name:String

the name

ordinal:int

the ordinal

Method Detail

getDllNameback to summary
public String getDllName()

Gets the dll name.

Returns:String

the dll name

getNameback to summary
public String getName()

Gets the name.

Returns:String

the name

getOrdinalback to summary
public int getOrdinal()

Gets the ordinal.

Returns:int

the ordinal

setDllNameback to summary
public void setDllName(String dllName)

Sets the dll name.

Parameters
dllName:String

the new dll name

setNameback to summary
public void setName(String name)

Sets the name.

Parameters
name:String

the new name

setOrdinalback to summary
public void setOrdinal(int ordinal)

Sets the ordinal.

Parameters
ordinal:int

the new ordinal

com.sun.jna.platform.win32.COM back to summary

public Class TypeInfoUtil.Invoke

extends Object
Class Inheritance

The Class Invoke.
Author
[email protected] The Class Invoke.

Field Summary

Modifier and TypeField and Description
private OaIdl.EXCEPINFO.ByReference
pExcepInfo

The p excep info.

private int
puArgErr

The pu arg err.

private Variant.VARIANT.ByReference
pVarResult

The p var result.

Constructor Summary

AccessConstructor and Description
public
Invoke(Variant.VARIANT.ByReference
the var result
pVarResult
,
OaIdl.EXCEPINFO.ByReference
the excep info
pExcepInfo
,
int
the pu arg err
puArgErr
)

Instantiates a new invoke.

Method Summary

Modifier and TypeMethod and Description
public OaIdl.EXCEPINFO.ByReference

Returns:

the p excep info
getpExcepInfo
()

Gets the p excep info.

public int

Returns:

the pu arg err
getPuArgErr
()

Gets the pu arg err.

public Variant.VARIANT.ByReference

Returns:

the p var result
getpVarResult
()

Gets the p var result.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

pExcepInfoback to summary
private OaIdl.EXCEPINFO.ByReference pExcepInfo

The p excep info.

puArgErrback to summary
private int puArgErr

The pu arg err.

pVarResultback to summary
private Variant.VARIANT.ByReference pVarResult

The p var result.

Constructor Detail

Invokeback to summary
public Invoke(Variant.VARIANT.ByReference pVarResult, OaIdl.EXCEPINFO.ByReference pExcepInfo, int puArgErr)

Instantiates a new invoke.

Parameters
pVarResult:Variant.VARIANT.ByReference

the var result

pExcepInfo:OaIdl.EXCEPINFO.ByReference

the excep info

puArgErr:int

the pu arg err

Method Detail

getpExcepInfoback to summary
public OaIdl.EXCEPINFO.ByReference getpExcepInfo()

Gets the p excep info.

Returns:OaIdl.EXCEPINFO.ByReference

the p excep info

getPuArgErrback to summary
public int getPuArgErr()

Gets the pu arg err.

Returns:int

the pu arg err

getpVarResultback to summary
public Variant.VARIANT.ByReference getpVarResult()

Gets the p var result.

Returns:Variant.VARIANT.ByReference

the p var result

com.sun.jna.platform.win32.COM back to summary

public Class TypeInfoUtil.TypeInfoDoc

extends Object
Class Inheritance

The Class TypeInfoDoc.
Author
[email protected] The Class TypeInfoDoc.

Field Summary

Modifier and TypeField and Description
private String
docString

The doc string.

private int
helpContext

The help context.

private String
helpFile

The help file.

private String
name

The name.

Constructor Summary

AccessConstructor and Description
public
TypeInfoDoc(String
the name
name
,
String
the doc string
docString
,
int
the help context
helpContext
,
String
the help file
helpFile
)

Instantiates a new type info doc.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the doc string
getDocString
()

Gets the doc string.

public int

Returns:

the help context
getHelpContext
()

Gets the help context.

public String

Returns:

the help file
getHelpFile
()

Gets the help file.

public String

Returns:

the name
getName
()

Gets the name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

docStringback to summary
private String docString

The doc string.

helpContextback to summary
private int helpContext

The help context.

helpFileback to summary
private String helpFile

The help file.

nameback to summary
private String name

The name.

Constructor Detail

TypeInfoDocback to summary
public TypeInfoDoc(String name, String docString, int helpContext, String helpFile)

Instantiates a new type info doc.

Parameters
name:String

the name

docString:String

the doc string

helpContext:int

the help context

helpFile:String

the help file

Method Detail

getDocStringback to summary
public String getDocString()

Gets the doc string.

Returns:String

the doc string

getHelpContextback to summary
public int getHelpContext()

Gets the help context.

Returns:int

the help context

getHelpFileback to summary
public String getHelpFile()

Gets the help file.

Returns:String

the help file

getNameback to summary
public String getName()

Gets the name.

Returns:String

the name