public class TypeLib extends Unknown implements ITypeLib
Modifier and Type | Class and Description |
---|---|
static class |
TypeLib.ByReference |
IID_IUNKNOWN
Constructor and Description |
---|
TypeLib()
Instantiates a new i type lib.
|
TypeLib(Pointer pvInstance)
Instantiates a new i type lib.
|
AddRef, QueryInterface, Release
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
AddRef, QueryInterface, Release
public TypeLib()
public TypeLib(Pointer pvInstance)
pvInstance
- the pv instancepublic WinDef.UINT GetTypeInfoCount()
GetTypeInfoCount
in interface ITypeLib
public WinNT.HRESULT GetTypeInfo(WinDef.UINT index, PointerByReference pTInfo)
GetTypeInfo
in interface ITypeLib
index
- the indexpTInfo
- the t infopublic WinNT.HRESULT GetTypeInfoType(WinDef.UINT index, OaIdl.TYPEKIND.ByReference pTKind)
GetTypeInfoType
in interface ITypeLib
index
- the indexpTKind
- the t kindpublic WinNT.HRESULT GetTypeInfoOfGuid(Guid.GUID guid, PointerByReference pTinfo)
GetTypeInfoOfGuid
in interface ITypeLib
guid
- the guidpTinfo
- the tinfopublic WinNT.HRESULT GetLibAttr(PointerByReference ppTLibAttr)
GetLibAttr
in interface ITypeLib
ppTLibAttr
- the pp t lib attrpublic WinNT.HRESULT GetTypeComp(PointerByReference pTComp)
GetTypeComp
in interface ITypeLib
pTComp
- the t comppublic WinNT.HRESULT GetDocumentation(int index, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile)
GetDocumentation
in interface ITypeLib
index
- the indexpBstrName
- the bstr namepBstrDocString
- the bstr doc stringpdwHelpContext
- the pdw help contextpBstrHelpFile
- the bstr help filepublic WinNT.HRESULT IsName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, WinDef.BOOLByReference pfName)
public WinNT.HRESULT FindName(WTypes.LPOLESTR szNameBuf, WinDef.ULONG lHashVal, Pointer[] ppTInfo, OaIdl.MEMBERID[] rgMemId, WinDef.USHORTByReference pcFound)
public void ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)
ReleaseTLibAttr
in interface ITypeLib
pTLibAttr
- the t lib attr