ITypeLib2 interface (oaidl.h)

Represents a type library, the data that describes a set of objects.

The ITypeLib2 interface inherits from the ITypeLib interface. This allows ITypeLib to cast to an ITypeLib2 in performance-sensitive cases, rather than perform extra QueryInterface and Release calls.

Inheritance

The ITypeLib2 interface inherits from ITypeLib. ITypeLib2 also has these types of members:

Methods

The ITypeLib2 interface has these methods.

 
ITypeLib2::GetAllCustData

Gets all custom data items for the library. (ITypeLib2.GetAllCustData)
ITypeLib2::GetCustData

Gets the custom data. (ITypeLib2.GetCustData)
ITypeLib2::GetDocumentation2

Retrieves the library's documentation string, the complete Help file name and path, the localization context to use, and the context ID for the library Help topic in the Help file.
ITypeLib2::GetLibStatistics

Returns statistics about a type library that are required for efficient sizing of hash tables.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

Type Description Interfaces and Functions