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

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.


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


This method gets the custom data.


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


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


This method gets all custom data items for the library.


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