Share via


ITypeInfo2

This interface allows ITypeInfo to cast to an ITypeInfo2 in performance-sensitive cases. An ITypeInfo can be cast to an ITypeInfo2 instead of using the calls IUnknown::QueryInterface and IUnknown::Release. This casting procedure is not compatible with Windows 95 or Microsoft 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 ITypeInfo interface.

Method Description
ITypeInfo2::GetTypeKind This method returns the TYPEKIND enumeration quickly, without doing any allocations.
ITypeInfo2::GetTypeFlags This method returns the TYPEFLAGS quickly, without doing any allocations.
ITypeInfo2::GetFuncIndexOfMemId This method binds to a specific member based on a known dispatch identifier (DISPID).
ITypeInfo2::GetVarIndexOfMemId This method binds to a specific member based on a known dispatch identifier (DISPID).
ITypeInfo2::GetCustData This method gets the custom data.
ITypeInfo2::GetFuncCustData This method gets the custom data from the specified function.
ITypeInfo2::GetParamCustData This method gets the specified custom data parameter.
ITypeInfo2::GetVarCustData This method gets the variable for the custom data.
ITypeInfo2::GetImplTypeCustData This method gets the implementation type of the custom data.
ITypeInfo2::GetDocumentation2 This method retrieves the documentation string and other Help-related information.
ITypeInfo2::GetAllCustData This method gets all custom data items for the library.
ITypeInfo2::GetAllFuncCustData This method gets all of the custom data from the specified function.
ITypeInfo2::GetAllParamCustData This method gets all of the custom data for the specified parameter.
ITypeInfo2::GetAllVarCustData This method gets all of the custom data for the specified variable.
ITypeInfo2::GetAllImplTypeCustData This method gets all of the custom data for the specified implementation type.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

Automation Interfaces | ITypeInfo | IUnknown | IUnknown::QueryInterface | IUnknown::Release | TYPEFLAGS | TYPEKIND

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.