ICreateTypeLib

A version of this page is also available for

Windows Embedded CE 6.0 R3

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.

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 Embedded 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 Embedded CE. Calls to this method return E_NOT_IMPL.

Requirements

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

Reference

Automation Interfaces
ITypeLib
IUnknown