public class TypeInfo extends Unknown implements ITypeInfo
Modifier and Type | Class and Description |
---|---|
static class |
TypeInfo.ByReference |
IID_IUNKNOWN
Constructor and Description |
---|
TypeInfo()
Instantiates a new i type info.
|
TypeInfo(Pointer pvInstance)
Instantiates a new i type info.
|
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 TypeInfo()
public TypeInfo(Pointer pvInstance)
pvInstance
- the pv instancepublic WinNT.HRESULT GetTypeAttr(PointerByReference ppTypeAttr)
GetTypeAttr
in interface ITypeInfo
ppTypeAttr
- the pp type attrpublic WinNT.HRESULT GetTypeComp(PointerByReference ppTComp)
GetTypeComp
in interface ITypeInfo
ppTComp
- the pp t comppublic WinNT.HRESULT GetFuncDesc(WinDef.UINT index, PointerByReference ppFuncDesc)
GetFuncDesc
in interface ITypeInfo
index
- the indexppFuncDesc
- the pp func descpublic WinNT.HRESULT GetVarDesc(WinDef.UINT index, PointerByReference ppVarDesc)
GetVarDesc
in interface ITypeInfo
index
- the indexppVarDesc
- the pp var descpublic WinNT.HRESULT GetNames(OaIdl.MEMBERID memid, WTypes.BSTR[] rgBstrNames, WinDef.UINT cMaxNames, WinDef.UINTByReference pcNames)
public WinNT.HRESULT GetRefTypeOfImplType(WinDef.UINT index, OaIdl.HREFTYPEByReference pRefType)
GetRefTypeOfImplType
in interface ITypeInfo
index
- the indexpRefType
- the ref typepublic WinNT.HRESULT GetImplTypeFlags(WinDef.UINT index, IntByReference pImplTypeFlags)
GetImplTypeFlags
in interface ITypeInfo
index
- the indexpImplTypeFlags
- the impl type flagspublic WinNT.HRESULT GetIDsOfNames(WTypes.LPOLESTR[] rgszNames, WinDef.UINT cNames, OaIdl.MEMBERID[] pMemId)
GetIDsOfNames
in interface ITypeInfo
rgszNames
- the rgsz namescNames
- the c namespMemId
- the mem idpublic 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)
public WinNT.HRESULT GetDocumentation(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrName, WTypes.BSTRByReference pBstrDocString, WinDef.DWORDByReference pdwHelpContext, WTypes.BSTRByReference pBstrHelpFile)
GetDocumentation
in interface ITypeInfo
memid
- the memidpBstrName
- the bstr namepBstrDocString
- the bstr doc stringpdwHelpContext
- the pdw help contextpBstrHelpFile
- the bstr help filepublic WinNT.HRESULT GetDllEntry(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, WTypes.BSTRByReference pBstrDllName, WTypes.BSTRByReference pBstrName, WinDef.WORDByReference pwOrdinal)
GetDllEntry
in interface ITypeInfo
memid
- the memidinvKind
- the inv kindpBstrDllName
- the bstr dll namepBstrName
- the bstr namepwOrdinal
- the pw ordinalpublic WinNT.HRESULT GetRefTypeInfo(OaIdl.HREFTYPE hRefType, PointerByReference ppTInfo)
GetRefTypeInfo
in interface ITypeInfo
hRefType
- the h ref typeppTInfo
- the pp t infopublic WinNT.HRESULT AddressOfMember(OaIdl.MEMBERID memid, OaIdl.INVOKEKIND invKind, PointerByReference ppv)
AddressOfMember
in interface ITypeInfo
memid
- the memidinvKind
- the inv kindppv
- the ppvpublic WinNT.HRESULT CreateInstance(IUnknown pUnkOuter, Guid.REFIID riid, PointerByReference ppvObj)
CreateInstance
in interface ITypeInfo
pUnkOuter
- the unk outerriid
- the riidppvObj
- the ppv objpublic WinNT.HRESULT GetMops(OaIdl.MEMBERID memid, WTypes.BSTRByReference pBstrMops)
public WinNT.HRESULT GetContainingTypeLib(PointerByReference ppTLib, WinDef.UINTByReference pIndex)
GetContainingTypeLib
in interface ITypeInfo
ppTLib
- the pp t libpIndex
- the indexpublic void ReleaseTypeAttr(OaIdl.TYPEATTR pTypeAttr)
ReleaseTypeAttr
in interface ITypeInfo
pTypeAttr
- the type attrpublic void ReleaseFuncDesc(OaIdl.FUNCDESC pFuncDesc)
ReleaseFuncDesc
in interface ITypeInfo
pFuncDesc
- the func descpublic void ReleaseVarDesc(OaIdl.VARDESC pVarDesc)
ReleaseVarDesc
in interface ITypeInfo
pVarDesc
- the var desc