Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
ICreateTypeLib2inherits from ICreateTypeLib, and has four member functions. The ICreateTypeInfoinstance returned from ICreateTypeLibcan be accessed through a IUnknown::QueryInterfacecall to ICreateTypeInfo2.
The ICreateTypeInfo2interface derives from ICreateTypeInfo, and adds methods for deleting items that have been added through ICreateTypeInfo.
The ICreateTypeInfo::LayOutmethod provides a way for the creator of the type information to check for any errors. A call to QueryInterfacecan be made to the ICreateTypeInfoinstance at any time for its ITypeInfointerface. Calling any of the methods in the ITypeInfointerface that require layout information lays out the type information automatically.
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 IUnknowninterface. This interface also inherits the methods for the ICreateTypeLibinterface.
Method | Description |
---|---|
This method deletes specified type information from the type library. |
|
This method sets a value to custom data. |
|
This method sets the Help string context number. |
|
This method sets the dynamic-link library (DLL) name to be used for Help string lookup for localization purposes. |
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 |