ICreateTypeLib
A version of this page is also available for
4/8/2010
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 ITypeLib interface.
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 IUnknown interface.
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. |
|
ICreateTypeLib::SetDocString |
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. |
|
ICreateTypeLib::SaveAllChanges |
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 |