Package com.sun.jna.platform.win32.COM
Class TypeInfo
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.TypeInfo
- All Implemented Interfaces:
- NativeMapped,- ITypeInfo,- IUnknown
- Direct Known Subclasses:
- TypeInfo.ByReference
Wrapper class for the ITypeInfo 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 TypeMethodDescriptionAddressOfMember(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, PointerByReference ppv) Address of member.CreateInstance(IUnknown pUnkOuter, Guid.REFIID riid, PointerByReference ppvObj) Creates the instance.GetContainingTypeLib(PointerByReference ppTLib, WinDef.UINTByReference pIndex) Gets the containing type lib.GetDllEntry(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, WTypes.BSTRByReference pBstrDllName, WTypes.BSTRByReference pBstrName, WinDef.WORDByReference pwOrdinal) Gets the dll entry.GetDocumentation(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile) Gets the documentation.GetFuncDesc(WinDef.UINT index, PointerByReference ppFuncDesc) Gets the func desc.GetIDsOfNames(WTypes.LPOLESTR[] rgszNames, WinDef.UINT cNames, OaIdl.MEMBERID[] pMemId) Gets the i ds of names.GetImplTypeFlags(WinDef.UINT index, IntByReference pImplTypeFlags) Gets the impl type flags.GetMops(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrMops) Gets the mops.GetNames(OaIdl.MEMBERID memid, WTypes.BSTR[] rgBstrNames, WinDef.UINT cMaxNames, WinDef.UINTByReference pcNames) Gets the names.GetRefTypeInfo(OaIdl.HREFTYPE hRefType, PointerByReference ppTInfo) Gets the ref type info.GetRefTypeOfImplType(WinDef.UINT index, OaIdl.HREFTYPEByReference pRefType) Gets the ref type of impl type.GetTypeAttr(PointerByReference ppTypeAttr) Gets the type attr.GetTypeComp(PointerByReference ppTComp) Gets the type comp.GetVarDesc(WinDef.UINT index, PointerByReference ppVarDesc) Gets the var desc.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) Invoke.voidReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc) Release func desc.voidReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr) Release type attr.voidReleaseVarDesc(OaIdl.VARDESC pVarDesc) Release var desc.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- 
TypeInfopublic TypeInfo()Instantiates a new i type info.
- 
TypeInfoInstantiates a new i type info.- Parameters:
- pvInstance- the pv instance
 
 
- 
- 
Method Details- 
GetTypeAttrGets the type attr.- Specified by:
- GetTypeAttrin interface- ITypeInfo
- Parameters:
- ppTypeAttr- the pp type attr
- Returns:
- the hresult
 
- 
GetTypeCompGets the type comp.- Specified by:
- GetTypeCompin interface- ITypeInfo
- Parameters:
- ppTComp- the pp t comp
- Returns:
- the hresult
 
- 
GetFuncDescGets the func desc.- Specified by:
- GetFuncDescin interface- ITypeInfo
- Parameters:
- index- the index
- ppFuncDesc- the pp func desc
- Returns:
- the hresult
 
- 
GetVarDescGets the var desc.- Specified by:
- GetVarDescin interface- ITypeInfo
- Parameters:
- index- the index
- ppVarDesc- the pp var desc
- Returns:
- the hresult
 
- 
GetNamespublic WinNT.HRESULT GetNames(OaIdl.MEMBERID memid, WTypes.BSTR[] rgBstrNames, WinDef.UINT cMaxNames, WinDef.UINTByReference pcNames) Gets the names.
- 
GetRefTypeOfImplTypeGets the ref type of impl type.- Specified by:
- GetRefTypeOfImplTypein interface- ITypeInfo
- Parameters:
- index- the index
- pRefType- the ref type
- Returns:
- the hresult
 
- 
GetImplTypeFlagsGets the impl type flags.- Specified by:
- GetImplTypeFlagsin interface- ITypeInfo
- Parameters:
- index- the index
- pImplTypeFlags- the impl type flags
- Returns:
- the hresult
 
- 
GetIDsOfNamespublic WinNT.HRESULT GetIDsOfNames(WTypes.LPOLESTR[] rgszNames, WinDef.UINT cNames, OaIdl.MEMBERID[] pMemId) Gets the i ds of names.- Specified by:
- GetIDsOfNamesin interface- ITypeInfo
- Parameters:
- rgszNames- the rgsz names
- cNames- the c names
- pMemId- the mem id
- Returns:
- the hresult
 
- 
Invokepublic 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) Invoke.
- 
GetDocumentationpublic WinNT.HRESULT GetDocumentation(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile) Gets the documentation.- Specified by:
- GetDocumentationin interface- ITypeInfo
- Parameters:
- memid- the memid
- pBstrName- the bstr name
- pBstrDocString- the bstr doc string
- pdwHelpContext- the pdw help context
- pBstrHelpFile- the bstr help file
- Returns:
- the hresult
 
- 
GetDllEntrypublic WinNT.HRESULT GetDllEntry(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, WTypes.BSTRByReference pBstrDllName, WTypes.BSTRByReference pBstrName, WinDef.WORDByReference pwOrdinal) Gets the dll entry.- Specified by:
- GetDllEntryin interface- ITypeInfo
- Parameters:
- memid- the memid
- invKind- the inv kind
- pBstrDllName- the bstr dll name
- pBstrName- the bstr name
- pwOrdinal- the pw ordinal
- Returns:
- the hresult
 
- 
GetRefTypeInfoGets the ref type info.- Specified by:
- GetRefTypeInfoin interface- ITypeInfo
- Parameters:
- hRefType- the h ref type
- ppTInfo- the pp t info
- Returns:
- the hresult
 
- 
AddressOfMemberpublic WinNT.HRESULT AddressOfMember(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, PointerByReference ppv) Address of member.- Specified by:
- AddressOfMemberin interface- ITypeInfo
- Parameters:
- memid- the memid
- invKind- the inv kind
- ppv- the ppv
- Returns:
- the hresult
 
- 
CreateInstancepublic WinNT.HRESULT CreateInstance(IUnknown pUnkOuter, Guid.REFIID riid, PointerByReference ppvObj) Creates the instance.- Specified by:
- CreateInstancein interface- ITypeInfo
- Parameters:
- pUnkOuter- the unk outer
- riid- the riid
- ppvObj- the ppv obj
- Returns:
- the hresult
 
- 
GetMopsGets the mops.
- 
GetContainingTypeLibGets the containing type lib.- Specified by:
- GetContainingTypeLibin interface- ITypeInfo
- Parameters:
- ppTLib- the pp t lib
- pIndex- the index
- Returns:
- the hresult
 
- 
ReleaseTypeAttrRelease type attr.- Specified by:
- ReleaseTypeAttrin interface- ITypeInfo
- Parameters:
- pTypeAttr- the type attr
 
- 
ReleaseFuncDescRelease func desc.- Specified by:
- ReleaseFuncDescin interface- ITypeInfo
- Parameters:
- pFuncDesc- the func desc
 
- 
ReleaseVarDescRelease var desc.- Specified by:
- ReleaseVarDescin interface- ITypeInfo
- Parameters:
- pVarDesc- the var desc
 
 
-