ICreateTypeInfo2 interface (oaidl.h)

Provides the tools for creating and administering the type information defined through the type description. Derives from ICreateTypeInfo, and adds methods for deleting items that have been added through ICreateTypeInfo.

The ICreateTypeInfo::LayOut method provides a way for the creator of the type information to check for any errors. A call to QueryInterface can be made to the ICreateTypeInfo instance at any time for its ITypeInfo interface. Calling any of the methods in the ITypeInfointerface that require layout information lays out the type information automatically.

Inheritance

The ICreateTypeInfo2 interface inherits from ICreateTypeInfo. ICreateTypeInfo2 also has these types of members:

Methods

The ICreateTypeInfo2 interface has these methods.

 
ICreateTypeInfo2::DeleteFuncDesc

Deletes a function description specified by the index number.
ICreateTypeInfo2::DeleteFuncDescByMemId

Deletes the specified function description (FUNCDESC).
ICreateTypeInfo2::DeleteImplType

Deletes the IMPLTYPE flags for the indexed interface.
ICreateTypeInfo2::DeleteVarDesc

Deletes the specified VARDESC structure. (ICreateTypeInfo2.DeleteVarDesc)
ICreateTypeInfo2::DeleteVarDescByMemId

Deletes the specified VARDESC structure. (ICreateTypeInfo2.DeleteVarDescByMemId)
ICreateTypeInfo2::SetCustData

Sets a value for custom data.
ICreateTypeInfo2::SetFuncCustData

Sets a value for custom data for the specified function.
ICreateTypeInfo2::SetFuncHelpStringContext

Sets a Help context value for a specified function.
ICreateTypeInfo2::SetHelpStringContext

Sets the context number for the specified Help string.
ICreateTypeInfo2::SetImplTypeCustData

Sets a value for custom data for the specified implementation type.
ICreateTypeInfo2::SetName

Sets the name of the typeinfo.
ICreateTypeInfo2::SetParamCustData

Sets a value for the custom data for the specified parameter.
ICreateTypeInfo2::SetVarCustData

Sets a value for custom data for the specified variable.
ICreateTypeInfo2::SetVarHelpStringContext

Sets a Help context value for a specified variable.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

Type Building Interfaces and Functions