Compartilhar via


ICreateTypeLib (Compact 2013)

3/26/2014

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 Compact.

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/regional 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 Compact. Calls to this method return E_NOT_IMPL.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

Automation Interfaces
ITypeLib
IUnknown