ITypeInfo2 : IUnknown

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 QueryInterface and Release. This casting procedure is not compatible with Windows 95 or Windows NT version 3.51.

At a Glance

Header file: Oaidl.h
Windows CE versions: 2.0 and later

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