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 provides the methods for creating and managing the component or file that contains type information. Type libraries are created from type descriptions using the MkTypLib utility or the Microsoft® Interface Definition Language (MIDL) compiler. These type libraries are accessed through the ITypeLibinterface.


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.

Method Description


This method creates a new type description instance within the type library.


This method sets the name of the type library.


This method sets the major and minor version numbers of the type library.


This method is not supported in Windows Embedded CE.


This method sets the universally unique identifier (UUID) associated with the type library. Also known as the globally unique identifier (GUID).


This method sets the name of the Help file.


This method sets the Help context identifier for retrieving general Help information for the type library.


This method sets the binary Microsoft national language identifier associated with the library.


This method sets library flags, such as LIBFLAG_FRESTRICTED.


This method is not supported in Windows Embedded CE. Calls to this method return E_NOT_IMPL.


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