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

public Class TypeInfo

extends Unknown
implements ITypeInfo
Class Inheritance
All Implemented Interfaces
com.sun.jna.platform.win32.COM.ITypeInfo, com.sun.jna.platform.win32.COM.IUnknown
Known Direct Subclasses
com.sun.jna.platform.win32.COM.TypeInfo.ByReference
Imports
com.sun.jna.Pointer, .Structure, com.sun.jna.platform.win32.Guid.REFIID, .OaIdl.EXCEPINFO, .OaIdl.FUNCDESC, .OaIdl.HREFTYPE, .OaIdl.HREFTYPEByReference, .OaIdl.INVOKEKIND, .OaIdl.MEMBERID, .OaIdl.TYPEATTR, .OaIdl.VARDESC, .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

Wrapper class for the ITypeInfo interface.
Author
Tobias Wolf, [email protected]

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Constructor Summary

AccessConstructor and Description
public
TypeInfo()

Instantiates a new i type info.

public
TypeInfo(Pointer
the pv instance
pvInstance
)

Instantiates a new i type info.

Method Summary

Modifier and TypeMethod and Description
public WinNT.HRESULT

Returns:

the hresult
AddressOfMember
(OaIdl.MEMBERID
the memid
memid
,
OaIdl.INVOKEKIND
the inv kind
invKind
,
PointerByReference
the ppv
ppv
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.AddressOfMember.

Address of member.
public WinNT.HRESULT

Returns:

the hresult
CreateInstance
(IUnknown
the unk outer
pUnkOuter
,
Guid.REFIID
the riid
riid
,
PointerByReference
the ppv obj
ppvObj
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.CreateInstance.

Creates the instance.
public WinNT.HRESULT

Returns:

the hresult
GetContainingTypeLib
(PointerByReference
the pp t lib
ppTLib
,
WinDef.UINTByReference
the index
pIndex
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetContainingTypeLib.

Gets the containing type lib.
public WinNT.HRESULT

Returns:

the hresult
GetDllEntry
(OaIdl.MEMBERID
the memid
memid
,
OaIdl.INVOKEKIND
the inv kind
invKind
,
WTypes.BSTRByReference
the bstr dll name
pBstrDllName
,
WTypes.BSTRByReference
the bstr name
pBstrName
,
WinDef.WORDByReference
the pw ordinal
pwOrdinal
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetDllEntry.

Gets the dll entry.
public WinNT.HRESULT

Returns:

the hresult
GetDocumentation
(OaIdl.MEMBERID
the memid
memid
,
WTypes.BSTRByReference
the bstr name
pBstrName
,
WTypes.BSTRByReference
the bstr doc string
pBstrDocString
,
WinDef.DWORDByReference
the pdw help context
pdwHelpContext
,
WTypes.BSTRByReference
the bstr help file
pBstrHelpFile
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetDocumentation.

Gets the documentation.
public WinNT.HRESULT

Returns:

the hresult
GetFuncDesc
(WinDef.UINT
the index
index
,
PointerByReference
the pp func desc
ppFuncDesc
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetFuncDesc.

Gets the func desc.
public WinNT.HRESULT

Returns:

the hresult
GetIDsOfNames
(WTypes.LPOLESTR[]
the rgsz names
rgszNames
,
WinDef.UINT
the c names
cNames
,
OaIdl.MEMBERID[]
the mem id
pMemId
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetIDsOfNames.

Gets the i ds of names.
public WinNT.HRESULT

Returns:

the hresult
GetImplTypeFlags
(WinDef.UINT
the index
index
,
IntByReference
the impl type flags
pImplTypeFlags
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetImplTypeFlags.

Gets the impl type flags.
public WinNT.HRESULT

Returns:

the hresult
GetMops
(OaIdl.MEMBERID
the memid
memid
,
WTypes.BSTRByReference
the bstr mops
pBstrMops
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetMops.

Gets the mops.
public WinNT.HRESULT

Returns:

the hresult
GetNames
(OaIdl.MEMBERID
the memid
memid
,
WTypes.BSTR[]
the rg bstr names
rgBstrNames
,
WinDef.UINT
the c max names
cMaxNames
,
WinDef.UINTByReference
the pc names
pcNames
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetNames.

Gets the names.
public WinNT.HRESULT

Returns:

the hresult
GetRefTypeInfo
(OaIdl.HREFTYPE
the h ref type
hRefType
,
PointerByReference
the pp t info
ppTInfo
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetRefTypeInfo.

Gets the ref type info.
public WinNT.HRESULT

Returns:

the hresult
GetRefTypeOfImplType
(WinDef.UINT
the index
index
,
OaIdl.HREFTYPEByReference
the ref type
pRefType
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetRefTypeOfImplType.

Gets the ref type of impl type.
public WinNT.HRESULT

Returns:

the hresult
GetTypeAttr
(PointerByReference
the pp type attr
ppTypeAttr
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetTypeAttr.

Gets the type attr.
public WinNT.HRESULT

Returns:

the hresult
GetTypeComp
(PointerByReference
the pp t comp
ppTComp
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetTypeComp.

Gets the type comp.
public WinNT.HRESULT

Returns:

the hresult
GetVarDesc
(WinDef.UINT
the index
index
,
PointerByReference
the pp var desc
ppVarDesc
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetVarDesc.

Gets the var desc.
public WinNT.HRESULT

Returns:

the hresult
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
,
Variant.VARIANT.ByReference
the var result
pVarResult
,
OaIdl.EXCEPINFO.ByReference
the excep info
pExcepInfo
,
WinDef.UINTByReference
the pu arg err
puArgErr
)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.Invoke.

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.ReleaseFuncDesc.

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.ReleaseTypeAttr.

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.ReleaseVarDesc.

Release var desc.
Inherited from com.sun.jna.platform.win32.COM.Unknown:
AddRefQueryInterfaceRelease

Constructor Detail

TypeInfoback to summary
public TypeInfo()

Instantiates a new i type info.

TypeInfoback to summary
public TypeInfo(Pointer pvInstance)

Instantiates a new i type info.

Parameters
pvInstance:Pointer

the pv instance

Method Detail

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.AddressOfMember.

Address of member.

Parameters
memid:OaIdl.MEMBERID

the memid

invKind:OaIdl.INVOKEKIND

the inv kind

ppv:PointerByReference

the ppv

Returns:WinNT.HRESULT

the hresult

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.CreateInstance.

Creates the instance.

Parameters
pUnkOuter:IUnknown

the unk outer

riid:Guid.REFIID

the riid

ppvObj:PointerByReference

the ppv obj

Returns:WinNT.HRESULT

the hresult

GetContainingTypeLibback to summary
public WinNT.HRESULT GetContainingTypeLib(PointerByReference ppTLib, WinDef.UINTByReference pIndex)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetContainingTypeLib.

Gets the containing type lib.

Parameters
ppTLib:PointerByReference

the pp t lib

pIndex:WinDef.UINTByReference

the index

Returns:WinNT.HRESULT

the hresult

GetDllEntryback to summary
public WinNT.HRESULT GetDllEntry(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, WTypes.BSTRByReference pBstrDllName, WTypes.BSTRByReference pBstrName, WinDef.WORDByReference pwOrdinal)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetDllEntry.

Gets the dll entry.

Parameters
memid:OaIdl.MEMBERID

the memid

invKind:OaIdl.INVOKEKIND

the inv kind

pBstrDllName:WTypes.BSTRByReference

the bstr dll name

pBstrName:WTypes.BSTRByReference

the bstr name

pwOrdinal:WinDef.WORDByReference

the pw ordinal

Returns:WinNT.HRESULT

the hresult

GetDocumentationback to summary
public WinNT.HRESULT GetDocumentation(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetDocumentation.

Gets the documentation.

Parameters
memid:OaIdl.MEMBERID

the memid

pBstrName:WTypes.BSTRByReference

the bstr name

pBstrDocString:WTypes.BSTRByReference

the bstr doc string

pdwHelpContext:WinDef.DWORDByReference

the pdw help context

pBstrHelpFile:WTypes.BSTRByReference

the bstr help file

Returns:WinNT.HRESULT

the hresult

GetFuncDescback to summary
public WinNT.HRESULT GetFuncDesc(WinDef.UINT index, PointerByReference ppFuncDesc)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetFuncDesc.

Gets the func desc.

Parameters
index:WinDef.UINT

the index

ppFuncDesc:PointerByReference

the pp func desc

Returns:WinNT.HRESULT

the hresult

GetIDsOfNamesback to summary
public WinNT.HRESULT GetIDsOfNames(WTypes.LPOLESTR[] rgszNames, WinDef.UINT cNames, OaIdl.MEMBERID[] pMemId)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetIDsOfNames.

Gets the i ds of names.

Parameters
rgszNames:WTypes.LPOLESTR[]

the rgsz names

cNames:WinDef.UINT

the c names

pMemId:OaIdl.MEMBERID[]

the mem id

Returns:WinNT.HRESULT

the hresult

GetImplTypeFlagsback to summary
public WinNT.HRESULT GetImplTypeFlags(WinDef.UINT index, IntByReference pImplTypeFlags)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetImplTypeFlags.

Gets the impl type flags.

Parameters
index:WinDef.UINT

the index

pImplTypeFlags:IntByReference

the impl type flags

Returns:WinNT.HRESULT

the hresult

GetMopsback to summary
public WinNT.HRESULT GetMops(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrMops)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetMops.

Gets the mops.

Parameters
memid:OaIdl.MEMBERID

the memid

pBstrMops:WTypes.BSTRByReference

the bstr mops

Returns:WinNT.HRESULT

the hresult

GetNamesback to summary
public WinNT.HRESULT GetNames(OaIdl.MEMBERID memid, WTypes.BSTR[] rgBstrNames, WinDef.UINT cMaxNames, WinDef.UINTByReference pcNames)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetNames.

Gets the names.

Parameters
memid:OaIdl.MEMBERID

the memid

rgBstrNames:WTypes.BSTR[]

the rg bstr names

cMaxNames:WinDef.UINT

the c max names

pcNames:WinDef.UINTByReference

the pc names

Returns:WinNT.HRESULT

the hresult

GetRefTypeInfoback to summary
public WinNT.HRESULT GetRefTypeInfo(OaIdl.HREFTYPE hRefType, PointerByReference ppTInfo)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetRefTypeInfo.

Gets the ref type info.

Parameters
hRefType:OaIdl.HREFTYPE

the h ref type

ppTInfo:PointerByReference

the pp t info

Returns:WinNT.HRESULT

the hresult

GetRefTypeOfImplTypeback to summary
public WinNT.HRESULT GetRefTypeOfImplType(WinDef.UINT index, OaIdl.HREFTYPEByReference pRefType)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetRefTypeOfImplType.

Gets the ref type of impl type.

Parameters
index:WinDef.UINT

the index

pRefType:OaIdl.HREFTYPEByReference

the ref type

Returns:WinNT.HRESULT

the hresult

GetTypeAttrback to summary
public WinNT.HRESULT GetTypeAttr(PointerByReference ppTypeAttr)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetTypeAttr.

Gets the type attr.

Parameters
ppTypeAttr:PointerByReference

the pp type attr

Returns:WinNT.HRESULT

the hresult

GetTypeCompback to summary
public WinNT.HRESULT GetTypeComp(PointerByReference ppTComp)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetTypeComp.

Gets the type comp.

Parameters
ppTComp:PointerByReference

the pp t comp

Returns:WinNT.HRESULT

the hresult

GetVarDescback to summary
public WinNT.HRESULT GetVarDesc(WinDef.UINT index, PointerByReference ppVarDesc)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.GetVarDesc.

Gets the var desc.

Parameters
index:WinDef.UINT

the index

ppVarDesc:PointerByReference

the pp var desc

Returns:WinNT.HRESULT

the hresult

Invokeback to summary
public WinNT.HRESULT Invoke(WinDef.PVOID pvInstance, OaIdl.MEMBERID memid, WinDef.WORD wFlags, OleAuto.DISPPARAMS.ByReference pDispParams, Variant.VARIANT.ByReference pVarResult, OaIdl.EXCEPINFO.ByReference pExcepInfo, WinDef.UINTByReference puArgErr)

Implements com.sun.jna.platform.win32.COM.ITypeInfo.Invoke.

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

pVarResult:Variant.VARIANT.ByReference

the var result

pExcepInfo:OaIdl.EXCEPINFO.ByReference

the excep info

puArgErr:WinDef.UINTByReference

the pu arg err

Returns:WinNT.HRESULT

the hresult

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.ReleaseFuncDesc.

Release func desc.

Parameters
pFuncDesc:OaIdl.FUNCDESC

the func desc

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.ReleaseTypeAttr.

Release type attr.

Parameters
pTypeAttr:OaIdl.TYPEATTR

the type attr

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

Implements com.sun.jna.platform.win32.COM.ITypeInfo.ReleaseVarDesc.

Release var desc.

Parameters
pVarDesc:OaIdl.VARDESC

the var desc

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

public Class TypeInfo.ByReference

extends TypeInfo
implements ByReference
Class Inheritance
All Implemented Interfaces
com.sun.jna.Structure.ByReference

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.jna.platform.win32.COM.TypeInfo:
AddressOfMemberCreateInstanceGetContainingTypeLibGetDllEntryGetDocumentationGetFuncDescGetIDsOfNamesGetImplTypeFlagsGetMopsGetNamesGetRefTypeInfoGetRefTypeOfImplTypeGetTypeAttrGetTypeCompGetVarDescInvokeReleaseFuncDescReleaseTypeAttrReleaseVarDesc

Constructor Detail

ByReferenceback to summary
public ByReference()