ICreateTypeLib interface (oaidl.h)

Provides the methods for creating and managing the component or file that contains type information. Type libraries are created from type descriptions using the MIDL compiler. These type libraries are accessed through the ITypeLib interface.

Inheritance

The ICreateTypeLib interface inherits from the IUnknown interface. ICreateTypeLib also has these types of members:

Methods

The ICreateTypeLib interface has these methods.

 
ICreateTypeLib::CreateTypeInfo

Creates a new type description instance within the type library.
ICreateTypeLib::SaveAllChanges

Saves the ICreateTypeLib instance following the layout of type information.
ICreateTypeLib::SetDocString

Sets the documentation string associated with the library.
ICreateTypeLib::SetGuid

Sets the universal unique identifier (UUID) associated with the type library.
ICreateTypeLib::SetHelpContext

Sets the Help context ID for retrieving general Help information for the type library.
ICreateTypeLib::SetHelpFileName

Sets the name of the Help file.
ICreateTypeLib::SetLcid

Sets the binary Microsoft national language ID associated with the library.
ICreateTypeLib::SetLibFlags

Sets library flags.
ICreateTypeLib::SetName

Sets the name of the type library.
ICreateTypeLib::SetVersion

Sets the major and minor version numbers of the type library.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

Type Building Interfaces and Functions