次の方法で共有


ITypeLib2 (Compact 2013)

3/26/2014

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

See Also

Reference

Automation Interfaces
ITypeLib
IUnknown