Package com.sun.jna.platform.win32.COM
Class TypeLib
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.COM.COMInvoker
com.sun.jna.platform.win32.COM.Unknown
com.sun.jna.platform.win32.COM.TypeLib
- All Implemented Interfaces:
- NativeMapped,- ITypeLib,- IUnknown
- Direct Known Subclasses:
- TypeLib.ByReference
Wrapper class for the ITypeLib interface.
- Author:
- Tobias Wolf, wolf.tobias@gmx.net
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from interface com.sun.jna.platform.win32.COM.IUnknownIID_IUNKNOWN
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionFindName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, Pointer[] ppTInfo, OaIdl.MEMBERID[] rgMemId, WinDef.USHORTByReference pcFound) Find name.GetDocumentation(int index, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile) Gets the documentation.GetLibAttr(PointerByReference ppTLibAttr) Gets the lib attr.GetTypeComp(PointerByReference pTComp) Gets the type comp.GetTypeInfo(WinDef.UINT index, PointerByReference pTInfo) Gets the type info.Gets the type info count.GetTypeInfoOfGuid(Guid.GUID guid, PointerByReference pTinfo) Gets the type info of guid.GetTypeInfoType(WinDef.UINT index, OaIdl.TYPEKIND.ByReference pTKind) Gets the type info type.IsName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, WinDef.BOOLByReference pfName) Checks if is name.voidReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr) Release t lib attr.Methods inherited from class com.sun.jna.platform.win32.COM.UnknownAddRef, QueryInterface, ReleaseMethods inherited from class com.sun.jna.platform.win32.COM.COMInvoker_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidMethods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.jna.platform.win32.COM.IUnknownAddRef, QueryInterface, Release
- 
Constructor Details- 
TypeLibpublic TypeLib()Instantiates a new i type lib.
- 
TypeLibInstantiates a new i type lib.- Parameters:
- pvInstance- the pv instance
 
 
- 
- 
Method Details- 
GetTypeInfoCountGets the type info count.- Specified by:
- GetTypeInfoCountin interface- ITypeLib
- Returns:
- the uint
 
- 
GetTypeInfoGets the type info.- Specified by:
- GetTypeInfoin interface- ITypeLib
- Parameters:
- index- the index
- pTInfo- the t info
- Returns:
- the hresult
 
- 
GetTypeInfoTypeGets the type info type.- Specified by:
- GetTypeInfoTypein interface- ITypeLib
- Parameters:
- index- the index
- pTKind- the t kind
- Returns:
- the hresult
 
- 
GetTypeInfoOfGuidGets the type info of guid.- Specified by:
- GetTypeInfoOfGuidin interface- ITypeLib
- Parameters:
- guid- the guid
- pTinfo- the tinfo
- Returns:
- the hresult
 
- 
GetLibAttrGets the lib attr.- Specified by:
- GetLibAttrin interface- ITypeLib
- Parameters:
- ppTLibAttr- the pp t lib attr
- Returns:
- the hresult
 
- 
GetTypeCompGets the type comp.- Specified by:
- GetTypeCompin interface- ITypeLib
- Parameters:
- pTComp- the t comp
- Returns:
- the hresult
 
- 
GetDocumentationpublic WinNT.HRESULT GetDocumentation(int index, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile) Gets the documentation.- Specified by:
- GetDocumentationin interface- ITypeLib
- Parameters:
- index- the index
- pBstrName- the bstr name
- pBstrDocString- the bstr doc string
- pdwHelpContext- the pdw help context
- pBstrHelpFile- the bstr help file
- Returns:
- the hresult
 
- 
IsNamepublic WinNT.HRESULT IsName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, WinDef.BOOLByReference pfName) Checks if is name.
- 
FindNamepublic WinNT.HRESULT FindName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, Pointer[] ppTInfo, OaIdl.MEMBERID[] rgMemId, WinDef.USHORTByReference pcFound) Find name.
- 
ReleaseTLibAttrRelease t lib attr.- Specified by:
- ReleaseTLibAttrin interface- ITypeLib
- Parameters:
- pTLibAttr- the t lib attr
 
 
-