ICreateTypeLib2:ICreateTypeLib

ICreateTypeLib2 inherits from ICreateTypeLib, and has four member functions. The ICreateTypeInfo instance returned from ICreateTypeLib can be accessed through a QueryInterface() call to ICreateTypeInfo2.

The ICreateTypeInfo2 interface derives from ICreateTypeInfo, and adds methods for deleting items that have been added through ICreateTypeInfo.

The ICreateTypeInfo::LayOut method provides a way for the creator of the type information to check for any errors. A call to QueryInterface can be made to the ICreateTypeInfo instance at any time for its ITypeInfo interface. Calling any of the methods in the ITypeInfo interface that require layout information lays out the type information automatically.

Example

interface ICreateTypeInfo2 : ICreateTypeInfo
Method Description
ICreateTypeLib2::DeleteTypeInfo Deletes a specified type information from the type library.
ICreateTypeLib2::SetName Sets the name of the type library.
ICreateTypeLib2::SetCustData Sets a value to custom data.
ICreateTypeLib2::SetHelpStringContext Sets the Help string context number.
ICreateTypeLib2::SetHelpStringDll Sets the dynamic-link library (DLL) name to be used for Help string lookup for localization purposes.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Oaidl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.