Compartir a través de


ITypeLib2

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface inherits from the ITypeLib interface. This allows ITypeLib to cast to an ITypeLib2 in performance-sensitive cases, rather than perform extra QueryInterface and Release calls. This casting procedure is not compatible with Windows 95 or Windows NT version 3.51.

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. This interface also inherits the methods for the ITypeLib interface.

Method Description

ITypeLib2::GetCustData

This method gets the custom data.

ITypeLib2::GetLibStatistics

This method returns statistics about a type library that are required for efficient sizing of hash tables.

ITypeLib2::GetDocumentation2

This method retrieves the library's documentation string, the complete Help file name and path, and the context identifier for the library help topic.

ITypeLib2::GetAllCustData

This method gets all custom data items for the library.

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