ICreateTypeLib
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.
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 IUnknown interface.
Method | Description |
---|---|
ICreateTypeLib::CreateTypeInfo | This method creates a new type description instance within the type library. |
ICreateTypeLib::SetName | This method sets the name of the type library. |
ICreateTypeLib::SetVersion | This method sets the major and minor version numbers of the type library. |
ICreateTypeLib::SetDocString | This method is not supported in Windows CE. |
ICreateTypeLib::SetGuid | This method sets the universally unique identifier (UUID) associated with the type library. Also known as the globally unique identifier (GUID). |
ICreateTypeLib::SetHelpFileName | This method sets the name of the Help file. |
ICreateTypeLib::SetHelpContext | This method sets the Help context identifier for retrieving general Help information for the type library. |
ICreateTypeLib::SetLcid | This method sets the binary Microsoft national language identifier associated with the library. |
ICreateTypeLib::SetLibFlags | This method sets library flags, such as LIBFLAG_FRESTRICTED. |
ICreateTypeLib::SaveAllChanges | This method is not supported in Windows CE. Calls to this method return E_NOT_IMPL. |
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.
See Also
Automation Interfaces | ITypeLib | IUnknown
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.