Skip to content

Latest commit

 

History

History
85 lines (69 loc) · 3.28 KB

nn-oaidl-itypeinfo.md

File metadata and controls

85 lines (69 loc) · 3.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:oaidl.ITypeInfo
ITypeInfo (oaidl.h)
Used for reading information about objects. (ITypeInfo)
ITypeInfo
ITypeInfo interface [Automation]
ITypeInfo interface [Automation]
described
_oa96_ITypeInfo_Interface
automat.itypeinfo
oaidl/ITypeInfo
automat\itypeinfo.htm
automat
f3356463-3373-4279-bae1-953378aa2680
12/05/2018
ITypeInfo, ITypeInfo interface [Automation], ITypeInfo interface [Automation],described, _oa96_ITypeInfo_Interface, automat.itypeinfo, oaidl/ITypeInfo
oaidl.h
Windows
OaIdl.idl
Windows
19H1
ITypeInfo
oaidl/ITypeInfo
c++
APIRef
kbSyntax
COM
oaidl.h
ITypeInfo

ITypeInfo interface

-description

This section describes 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.

-inheritance

The ITypeInfo interface inherits from the IUnknown interface. ITypeInfo also has these types of members:

-remarks

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 on.
The type description of an IDispatch interface can be used to implement the interface. For more information, see the description of CreateStdDispatch in Dispatch Interface and API Functions.

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

-see-also

Type Description Interfaces and Functions