Package com.sun.jna.platform.win32.COM
Klasse 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
- Alle implementierten Schnittstellen:
NativeMapped
,ITypeLib
,IUnknown
- Bekannte direkte Unterklassen:
TypeLib.ByReference
Wrapper class for the ITypeLib interface.
- Autor:
- Tobias Wolf, wolf.tobias@gmx.net
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
Von Schnittstelle geerbte Felder com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungFindName
(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.void
ReleaseTLibAttr
(OaIdl.TLIBATTR pTLibAttr) Release t lib attr.Von Klasse geerbte Methoden com.sun.jna.platform.win32.COM.Unknown
AddRef, QueryInterface, Release
Von Klasse geerbte Methoden com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
Von Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden com.sun.jna.platform.win32.COM.IUnknown
AddRef, QueryInterface, Release
-
Konstruktordetails
-
TypeLib
public TypeLib()Instantiates a new i type lib. -
TypeLib
Instantiates a new i type lib.- Parameter:
pvInstance
- the pv instance
-
-
Methodendetails
-
GetTypeInfoCount
Gets the type info count.- Angegeben von:
GetTypeInfoCount
in SchnittstelleITypeLib
- Gibt zurück:
- the uint
-
GetTypeInfo
Gets the type info.- Angegeben von:
GetTypeInfo
in SchnittstelleITypeLib
- Parameter:
index
- the indexpTInfo
- the t info- Gibt zurück:
- the hresult
-
GetTypeInfoType
Gets the type info type.- Angegeben von:
GetTypeInfoType
in SchnittstelleITypeLib
- Parameter:
index
- the indexpTKind
- the t kind- Gibt zurück:
- the hresult
-
GetTypeInfoOfGuid
Gets the type info of guid.- Angegeben von:
GetTypeInfoOfGuid
in SchnittstelleITypeLib
- Parameter:
guid
- the guidpTinfo
- the tinfo- Gibt zurück:
- the hresult
-
GetLibAttr
Gets the lib attr.- Angegeben von:
GetLibAttr
in SchnittstelleITypeLib
- Parameter:
ppTLibAttr
- the pp t lib attr- Gibt zurück:
- the hresult
-
GetTypeComp
Gets the type comp.- Angegeben von:
GetTypeComp
in SchnittstelleITypeLib
- Parameter:
pTComp
- the t comp- Gibt zurück:
- the hresult
-
GetDocumentation
public WinNT.HRESULT GetDocumentation(int index, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile) Gets the documentation.- Angegeben von:
GetDocumentation
in SchnittstelleITypeLib
- Parameter:
index
- the indexpBstrName
- the bstr namepBstrDocString
- the bstr doc stringpdwHelpContext
- the pdw help contextpBstrHelpFile
- the bstr help file- Gibt zurück:
- the hresult
-
IsName
public WinNT.HRESULT IsName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, WinDef.BOOLByReference pfName) Checks if is name. -
FindName
public WinNT.HRESULT FindName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, Pointer[] ppTInfo, OaIdl.MEMBERID[] rgMemId, WinDef.USHORTByReference pcFound) Find name. -
ReleaseTLibAttr
Release t lib attr.- Angegeben von:
ReleaseTLibAttr
in SchnittstelleITypeLib
- Parameter:
pTLibAttr
- the t lib attr
-