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
 
 public class TypeInfo extends Unknown implements ITypeInfo Wrapper class for the ITypeInfo interface.- Author:
- Tobias Wolf, wolf.tobias@gmx.net
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTypeInfo.ByReference
 - 
Field Summary- 
Fields inherited from interface com.sun.jna.platform.win32.COM.IUnknownIID_IUNKNOWN
 
- 
 - 
Method Summary- 
Methods inherited from class com.sun.jna.platform.win32.COM.UnknownAddRef, QueryInterface, Release
 - 
Methods inherited from class com.sun.jna.platform.win32.COM.COMInvoker_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
 - 
Methods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.sun.jna.platform.win32.COM.IUnknownAddRef, QueryInterface, Release
 
- 
 
- 
- 
- 
Constructor Detail- 
TypeInfopublic TypeInfo() Instantiates a new i type info.
 - 
TypeInfopublic TypeInfo(Pointer pvInstance) Instantiates a new i type info.- Parameters:
- pvInstance- the pv instance
 
 
- 
 - 
Method Detail- 
GetTypeAttrpublic WinNT.HRESULT GetTypeAttr(PointerByReference ppTypeAttr) Gets the type attr.- Specified by:
- GetTypeAttrin interface- ITypeInfo
- Parameters:
- ppTypeAttr- the pp type attr
- Returns:
- the hresult
 
 - 
GetTypeComppublic WinNT.HRESULT GetTypeComp(PointerByReference ppTComp) Gets the type comp.- Specified by:
- GetTypeCompin interface- ITypeInfo
- Parameters:
- ppTComp- the pp t comp
- Returns:
- the hresult
 
 - 
GetFuncDescpublic WinNT.HRESULT GetFuncDesc(WinDef.UINT index, PointerByReference ppFuncDesc) Gets the func desc.- Specified by:
- GetFuncDescin interface- ITypeInfo
- Parameters:
- index- the index
- ppFuncDesc- the pp func desc
- Returns:
- the hresult
 
 - 
GetVarDescpublic WinNT.HRESULT GetVarDesc(WinDef.UINT index, PointerByReference ppVarDesc) Gets 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.
 - 
GetRefTypeOfImplTypepublic WinNT.HRESULT GetRefTypeOfImplType(WinDef.UINT index, OaIdl.HREFTYPEByReference pRefType) Gets the ref type of impl type.- Specified by:
- GetRefTypeOfImplTypein interface- ITypeInfo
- Parameters:
- index- the index
- pRefType- the ref type
- Returns:
- the hresult
 
 - 
GetImplTypeFlagspublic WinNT.HRESULT GetImplTypeFlags(WinDef.UINT index, IntByReference pImplTypeFlags) Gets 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
 
 - 
GetRefTypeInfopublic WinNT.HRESULT GetRefTypeInfo(OaIdl.HREFTYPE hRefType, PointerByReference ppTInfo) Gets 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
 
 - 
GetMopspublic WinNT.HRESULT GetMops(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrMops) Gets the mops.
 - 
GetContainingTypeLibpublic WinNT.HRESULT GetContainingTypeLib(PointerByReference ppTLib, WinDef.UINTByReference pIndex) Gets the containing type lib.- Specified by:
- GetContainingTypeLibin interface- ITypeInfo
- Parameters:
- ppTLib- the pp t lib
- pIndex- the index
- Returns:
- the hresult
 
 - 
ReleaseTypeAttrpublic void ReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr) Release type attr.- Specified by:
- ReleaseTypeAttrin interface- ITypeInfo
- Parameters:
- pTypeAttr- the type attr
 
 - 
ReleaseFuncDescpublic void ReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc) Release func desc.- Specified by:
- ReleaseFuncDescin interface- ITypeInfo
- Parameters:
- pFuncDesc- the func desc
 
 - 
ReleaseVarDescpublic void ReleaseVarDesc(OaIdl.VARDESC pVarDesc) Release var desc.- Specified by:
- ReleaseVarDescin interface- ITypeInfo
- Parameters:
- pVarDesc- the var desc
 
 
- 
 
-