Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This interface inherits from the ITypeLibinterface. This allows ITypeLibto cast to an ITypeLib2in performance-sensitive cases, rather than perform extra QueryInterfaceand Releasecalls. This casting procedure is not compatible with Windows 95 or Windows NT version 3.51.

Methods

The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknowninterface. This interface also inherits the methods for the ITypeLibinterface.

Method Description

ITypeLib2::GetCustData

This method gets the custom data.

ITypeLib2::GetLibStatistics

This method returns statistics about a type library that are required for efficient sizing of hash tables.

ITypeLib2::GetDocumentation2

This method retrieves the library's documentation string, the complete Help file name and path, and the context identifier for the library help topic.

ITypeLib2::GetAllCustData

This method gets all custom data items for the library.

Requirements

Header oaidl.h, oaidl.idl
Library oleaut32.lib, uuid.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also