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

public Class TypeLib

extends Unknown
implements ITypeLib
Class Inheritance
All Implemented Interfaces
com.sun.jna.platform.win32.COM.ITypeLib, com.sun.jna.platform.win32.COM.IUnknown
Known Direct Subclasses
com.sun.jna.platform.win32.COM.TypeLib.ByReference
Imports
com.sun.jna.Pointer, .Structure, com.sun.jna.platform.win32.Guid.GUID, .OaIdl.MEMBERID, .OaIdl.TLIBATTR, .OaIdl.TYPEKIND, .WTypes.BSTRByReference, .WTypes.LPOLESTR, .WinDef.BOOLByReference, .WinDef.DWORDByReference, .WinDef.UINT, .WinDef.ULONG, .WinDef.USHORTByReference, .WinNT.HRESULT, com.sun.jna.ptr.PointerByReference

Wrapper class for the ITypeLib 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
TypeLib()

Instantiates a new i type lib.

public
TypeLib(Pointer
the pv instance
pvInstance
)

Instantiates a new i type lib.

Method Summary

Modifier and TypeMethod and Description
public WinNT.HRESULT

Returns:

the hresult
FindName
(WTypes.LPOLESTR
the sz name buf
szNameBuf
,
WinDef.ULONG
the l hash val
lHashVal
,
Pointer[]
the pp t info
ppTInfo
,
OaIdl.MEMBERID[]
the rg mem id
rgMemId
,
WinDef.USHORTByReference
the pc found
pcFound
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.FindName.

Find name.
public WinNT.HRESULT

Returns:

the hresult
GetDocumentation
(int
the index
index
,
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.ITypeLib.GetDocumentation.

Gets the documentation.
public WinNT.HRESULT

Returns:

the hresult
GetLibAttr
(PointerByReference
the pp t lib attr
ppTLibAttr
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetLibAttr.

Gets the lib attr.
public WinNT.HRESULT

Returns:

the hresult
GetTypeComp
(PointerByReference
the t comp
pTComp
)

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

Gets the type comp.
public WinNT.HRESULT

Returns:

the hresult
GetTypeInfo
(WinDef.UINT
the index
index
,
PointerByReference
the t info
pTInfo
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfo.

Gets the type info.
public WinDef.UINT

Returns:

the uint
GetTypeInfoCount
()

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfoCount.

Gets the type info count.
public WinNT.HRESULT

Returns:

the hresult
GetTypeInfoOfGuid
(Guid.GUID
the guid
guid
,
PointerByReference
the tinfo
pTinfo
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfoOfGuid.

Gets the type info of guid.
public WinNT.HRESULT

Returns:

the hresult
GetTypeInfoType
(WinDef.UINT
the index
index
,
OaIdl.TYPEKIND.ByReference
the t kind
pTKind
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfoType.

Gets the type info type.
public WinNT.HRESULT

Returns:

the hresult
IsName
(WTypes.LPOLESTR
the sz name buf
szNameBuf
,
WinDef.ULONG
the l hash val
lHashVal
,
WinDef.BOOLByReference
the pf name
pfName
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.IsName.

Checks if is name.
public void
ReleaseTLibAttr(OaIdl.TLIBATTR
the t lib attr
pTLibAttr
)

Implements com.sun.jna.platform.win32.COM.ITypeLib.ReleaseTLibAttr.

Release t lib attr.
Inherited from com.sun.jna.platform.win32.COM.Unknown:
AddRefQueryInterfaceRelease

Constructor Detail

TypeLibback to summary
public TypeLib()

Instantiates a new i type lib.

TypeLibback to summary
public TypeLib(Pointer pvInstance)

Instantiates a new i type lib.

Parameters
pvInstance:Pointer

the pv instance

Method Detail

FindNameback to summary
public WinNT.HRESULT FindName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, Pointer[] ppTInfo, OaIdl.MEMBERID[] rgMemId, WinDef.USHORTByReference pcFound)

Implements com.sun.jna.platform.win32.COM.ITypeLib.FindName.

Find name.

Parameters
szNameBuf:WTypes.LPOLESTR

the sz name buf

lHashVal:WinDef.ULONG

the l hash val

ppTInfo:Pointer[]

the pp t info

rgMemId:OaIdl.MEMBERID[]

the rg mem id

pcFound:WinDef.USHORTByReference

the pc found

Returns:WinNT.HRESULT

the hresult

GetDocumentationback to summary
public WinNT.HRESULT GetDocumentation(int index, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile)

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

Gets the documentation.

Parameters
index:int

the index

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

GetLibAttrback to summary
public WinNT.HRESULT GetLibAttr(PointerByReference ppTLibAttr)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetLibAttr.

Gets the lib attr.

Parameters
ppTLibAttr:PointerByReference

the pp t lib attr

Returns:WinNT.HRESULT

the hresult

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

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

Gets the type comp.

Parameters
pTComp:PointerByReference

the t comp

Returns:WinNT.HRESULT

the hresult

GetTypeInfoback to summary
public WinNT.HRESULT GetTypeInfo(WinDef.UINT index, PointerByReference pTInfo)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfo.

Gets the type info.

Parameters
index:WinDef.UINT

the index

pTInfo:PointerByReference

the t info

Returns:WinNT.HRESULT

the hresult

GetTypeInfoCountback to summary
public WinDef.UINT GetTypeInfoCount()

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfoCount.

Gets the type info count.

Returns:WinDef.UINT

the uint

GetTypeInfoOfGuidback to summary
public WinNT.HRESULT GetTypeInfoOfGuid(Guid.GUID guid, PointerByReference pTinfo)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfoOfGuid.

Gets the type info of guid.

Parameters
guid:Guid.GUID

the guid

pTinfo:PointerByReference

the tinfo

Returns:WinNT.HRESULT

the hresult

GetTypeInfoTypeback to summary
public WinNT.HRESULT GetTypeInfoType(WinDef.UINT index, OaIdl.TYPEKIND.ByReference pTKind)

Implements com.sun.jna.platform.win32.COM.ITypeLib.GetTypeInfoType.

Gets the type info type.

Parameters
index:WinDef.UINT

the index

pTKind:OaIdl.TYPEKIND.ByReference

the t kind

Returns:WinNT.HRESULT

the hresult

IsNameback to summary
public WinNT.HRESULT IsName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, WinDef.BOOLByReference pfName)

Implements com.sun.jna.platform.win32.COM.ITypeLib.IsName.

Checks if is name.

Parameters
szNameBuf:WTypes.LPOLESTR

the sz name buf

lHashVal:WinDef.ULONG

the l hash val

pfName:WinDef.BOOLByReference

the pf name

Returns:WinNT.HRESULT

the hresult

ReleaseTLibAttrback to summary
public void ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)

Implements com.sun.jna.platform.win32.COM.ITypeLib.ReleaseTLibAttr.

Release t lib attr.

Parameters
pTLibAttr:OaIdl.TLIBATTR

the t lib attr

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

public Class TypeLib.ByReference

extends TypeLib
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.TypeLib:
FindNameGetDocumentationGetLibAttrGetTypeCompGetTypeInfoGetTypeInfoCountGetTypeInfoOfGuidGetTypeInfoTypeIsNameReleaseTLibAttr

Constructor Detail

ByReferenceback to summary
public ByReference()