ITypeInfo Interface

Implemented by
Used by
Header filename
OLEAUT32.DLL (32-bit systems)
TYPELIB.DLL (16-bit systems)
Tools that need to access the descriptions of objects contained in type libraries.
OLEAUTO.H DLL (32-bit systems)
DISPATCH.H (16-bit systems)

This section describes ITypeInfo, an interface usually used for reading information about objects. For example, an object browser tool could 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:

  • The set of function descriptions associated with the type; for interfaces, this contains the set of member functions in the interface.

  • The set of data member descriptions associated with the type; for structures, this contains the set of fields of the type.

  • The general attributes of the type such as whether it describes a structure, an interface, and so forth.

You can use the type description of an IDispatch interface to implement the IDispatch interface. See the description of CreateStdDispatch in Chapter 5, "Dispatch Interfaces," for more information.

An ITypeInfo instance provides various information about a type, and is used in different ways. A compiler could use an ITypeInfo to compile references to members of the type. A type interface browser could use it to find information about each member of the type. An IDispatch implementor could use it to provide automatic delegation of IDispatch calls to an interface.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database