public interface IJITypeInfo extends IJIComObject
ITypeInfo Interface. Definition from MSDN: ITypeInfo, an interface typically used for reading information about objects. For example, an object browser tool can use ITypeInfo to extract information about the characteristics and capabilities of objects from type libraries. Type information interfaces are intended to describe the parts of the application that can be called by outside clients, rather than those that might be used internally to build an application.
The ITypeInfo interface provides access to the following:
Please note that all APIs of ITypeInfo have not been implemented.
| Modifier and Type | Field and Description |
|---|---|
static String |
IID
IID representing the COM
ITypeInfo. |
| Modifier and Type | Method and Description |
|---|---|
IJIComObject |
createInstance(String riid)
Creates a new instance of a type that describes a component object class (coclass).
|
Object[] |
getContainingTypeLib()
Retrieves the containing type library and the index of the type description within that type library.
|
Object[] |
getDllEntry(int memberId,
int invKind)
Retrieves a description or specification of an entry point for a function in a DLL.
|
Object[] |
getDocumentation(int memberId)
Retrieves the documentation string, the complete Help file name and path, and the context ID for the Help
topic for a specified type description.
|
FuncDesc |
getFuncDesc(int index)
Retrieves the FuncDesc structure that contains information about a specified function.
|
int |
getImplTypeFlags(int index)
Retrieves the IMPLTYPEFLAGS enumeration for one implemented interface or base interface in a type description.
|
JIString |
getMops(int memberId)
Retrieves marshaling information.
|
Object[] |
getNames(int memberId,
int maxNames)
Retrieves the variable with the specified member ID (or the name of the property or method and its parameters)
that correspond to the specified function ID.
|
IJITypeInfo |
getRefTypeInfo(int hrefType)
If a type description references other type descriptions, it retrieves the referenced type descriptions.
|
int |
getRefTypeOfImplType(int index)
If a type description describes a COM class, it retrieves the type description of the implemented
interface types.
|
TypeAttr |
getTypeAttr()
Retrieves a TypeAttr structure that contains the attributes of the type description.
|
VarDesc |
getVarDesc(int index)
Retrieves a VARDESC structure that describes the specified variable.
|
addRef, call, call, getAssociatedSession, getInstanceLevelSocketTimeout, getInterfaceIdentifier, getIpid, getUnreferencedHandler, internal_getConnectionInfo, internal_getInterfacePointer, internal_removeConnectionInfo, internal_setConnectionInfo, internal_setDeffered, isDispatchSupported, isLocalReference, queryInterface, registerUnreferencedHandler, release, setInstanceLevelSocketTimeout, unregisterUnreferencedHandlerstatic final String IID
ITypeInfo.FuncDesc getFuncDesc(int index) throws JIException
index - index of the function whose description is to be returned. The index should be in the range
of 0 to 1 less than the number of functions in this type.JIExceptionTypeAttr getTypeAttr() throws JIException
JIExceptionObject[] getContainingTypeLib() throws JIException
JIExceptionObject[] getDocumentation(int memberId) throws JIException
memberId - ID of the member whose documentation is to be returned.JIExceptionObject[] getDllEntry(int memberId, int invKind) throws JIException
memberId - ID of the member function whose DLL entry description is to be returned.invKind - Specifies the kind of member identified by memberId. This is important for properties,
because one memid can identify up to three separate functions.JIExceptionVarDesc getVarDesc(int index) throws JIException
index - index of the variable whose description is to be returned. The index should be in the range
of 0 to 1 less than the number of variables in this type.JIExceptionObject[] getNames(int memberId, int maxNames) throws JIException
memberId - ID of the member whose name (or names) is to be returned.maxNames - Length of the passed-in array.JIExceptionint getRefTypeOfImplType(int index)
throws JIException
index - index of the implemented type whose handle is returned. The valid range is 0 to the
cImplTypes field in the TypeAttr structure.JIExceptionint getImplTypeFlags(int index)
throws JIException
index - index of the implemented interface or base interface for which to get the flags.JIExceptionIJITypeInfo getRefTypeInfo(int hrefType) throws JIException
hrefType - handle to the referenced type description to be returned.JIExceptionIJIComObject createInstance(String riid) throws JIException
riid - JIExceptionJIString getMops(int memberId) throws JIException
memberId - member ID that indicates which marshaling information is needed.JIExceptionCopyright © 2017 LSST. All rights reserved.