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 Summary
Nested Classes -
Field Summary
Fields inherited from interface com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Unknown
AddRef, QueryInterface, ReleaseMethods inherited from class com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidMethods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.jna.platform.win32.COM.IUnknown
AddRef, QueryInterface, Release
-
Constructor Details
-
TypeInfo
public TypeInfo()Instantiates a new i type info. -
TypeInfo
Instantiates a new i type info.- Parameters:
pvInstance- the pv instance
-
-
Method Details
-
GetTypeAttr
Gets the type attr.- Specified by:
GetTypeAttrin interfaceITypeInfo- Parameters:
ppTypeAttr- the pp type attr- Returns:
- the hresult
-
GetTypeComp
Gets the type comp.- Specified by:
GetTypeCompin interfaceITypeInfo- Parameters:
ppTComp- the pp t comp- Returns:
- the hresult
-
GetFuncDesc
Gets the func desc.- Specified by:
GetFuncDescin interfaceITypeInfo- Parameters:
index- the indexppFuncDesc- the pp func desc- Returns:
- the hresult
-
GetVarDesc
Gets the var desc.- Specified by:
GetVarDescin interfaceITypeInfo- Parameters:
index- the indexppVarDesc- the pp var desc- Returns:
- the hresult
-
GetNames
public WinNT.HRESULT GetNames(OaIdl.MEMBERID memid, WTypes.BSTR[] rgBstrNames, WinDef.UINT cMaxNames, WinDef.UINTByReference pcNames) Gets the names. -
GetRefTypeOfImplType
Gets the ref type of impl type.- Specified by:
GetRefTypeOfImplTypein interfaceITypeInfo- Parameters:
index- the indexpRefType- the ref type- Returns:
- the hresult
-
GetImplTypeFlags
Gets the impl type flags.- Specified by:
GetImplTypeFlagsin interfaceITypeInfo- Parameters:
index- the indexpImplTypeFlags- the impl type flags- Returns:
- the hresult
-
GetIDsOfNames
public WinNT.HRESULT GetIDsOfNames(WTypes.LPOLESTR[] rgszNames, WinDef.UINT cNames, OaIdl.MEMBERID[] pMemId) Gets the i ds of names.- Specified by:
GetIDsOfNamesin interfaceITypeInfo- Parameters:
rgszNames- the rgsz namescNames- the c namespMemId- the mem id- Returns:
- the hresult
-
Invoke
public 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. -
GetDocumentation
public WinNT.HRESULT GetDocumentation(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile) Gets the documentation.- Specified by:
GetDocumentationin interfaceITypeInfo- Parameters:
memid- the memidpBstrName- the bstr namepBstrDocString- the bstr doc stringpdwHelpContext- the pdw help contextpBstrHelpFile- the bstr help file- Returns:
- the hresult
-
GetDllEntry
public 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 interfaceITypeInfo- Parameters:
memid- the memidinvKind- the inv kindpBstrDllName- the bstr dll namepBstrName- the bstr namepwOrdinal- the pw ordinal- Returns:
- the hresult
-
GetRefTypeInfo
Gets the ref type info.- Specified by:
GetRefTypeInfoin interfaceITypeInfo- Parameters:
hRefType- the h ref typeppTInfo- the pp t info- Returns:
- the hresult
-
AddressOfMember
public WinNT.HRESULT AddressOfMember(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, PointerByReference ppv) Address of member.- Specified by:
AddressOfMemberin interfaceITypeInfo- Parameters:
memid- the memidinvKind- the inv kindppv- the ppv- Returns:
- the hresult
-
CreateInstance
public WinNT.HRESULT CreateInstance(IUnknown pUnkOuter, Guid.REFIID riid, PointerByReference ppvObj) Creates the instance.- Specified by:
CreateInstancein interfaceITypeInfo- Parameters:
pUnkOuter- the unk outerriid- the riidppvObj- the ppv obj- Returns:
- the hresult
-
GetMops
Gets the mops. -
GetContainingTypeLib
Gets the containing type lib.- Specified by:
GetContainingTypeLibin interfaceITypeInfo- Parameters:
ppTLib- the pp t libpIndex- the index- Returns:
- the hresult
-
ReleaseTypeAttr
Release type attr.- Specified by:
ReleaseTypeAttrin interfaceITypeInfo- Parameters:
pTypeAttr- the type attr
-
ReleaseFuncDesc
Release func desc.- Specified by:
ReleaseFuncDescin interfaceITypeInfo- Parameters:
pFuncDesc- the func desc
-
ReleaseVarDesc
Release var desc.- Specified by:
ReleaseVarDescin interfaceITypeInfo- Parameters:
pVarDesc- the var desc
-