|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJITypeInfo
Represents the Windows COM 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.
Field Summary | |
---|---|
static java.lang.String |
IID
IID representing the COM ITypeInfo . |
Method Summary | |
---|---|
IJIComObject |
createInstance(java.lang.String riid)
Creates a new instance of a type that describes a component object class (coclass). |
java.lang.Object[] |
getContainingTypeLib()
Retrieves the containing type library and the index of the type description within that type library. |
java.lang.Object[] |
getDllEntry(int memberId,
int invKind)
Retrieves a description or specification of an entry point for a function in a DLL. |
java.lang.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. |
java.lang.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. |
Field Detail |
---|
static final java.lang.String IID
ITypeInfo
.
Method Detail |
---|
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.
JIException
TypeAttr getTypeAttr() throws JIException
JIException
java.lang.Object[] getContainingTypeLib() throws JIException
JIException
java.lang.Object[] getDocumentation(int memberId) throws JIException
memberId
- ID of the member whose documentation is to be returned.
JIException
java.lang.Object[] 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.
JIException
VarDesc 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.
JIException
java.lang.Object[] 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.
JIException
int 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.
JIException
int getImplTypeFlags(int index) throws JIException
index
- index of the implemented interface or base interface for which to get the flags.
JIException
IJITypeInfo getRefTypeInfo(int hrefType) throws JIException
hrefType
- handle to the referenced type description to be returned.
JIException
IJIComObject createInstance(java.lang.String riid) throws JIException
riid
-
JIException
JIString getMops(int memberId) throws JIException
memberId
- member ID that indicates which marshaling information is needed.
JIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |