Share via


ICreateTypeInfo2

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface 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 IUnknown::QueryInterface can be made to the ICreateTypeInfo instance at any time for its ITypeInfo interface. Calling any of the methods in the ITypeInfo interface that require layout information lays out the type information automatically.

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.

Method Description

ICreateTypeInfo2::DeleteFuncDesc

This method deletes a function description specified by the index number.

ICreateTypeInfo2::DeleteFuncDescByMemId

This method deletes the function description specified by member identifier.

ICreateTypeInfo2::DeleteVarDesc

This method deletes the specified VARDESC structure.

ICreateTypeInfo2::DeleteVarDescByMemId

This method deletes the specified VARDESC structure.

ICreateTypeInfo2::DeleteImplType

This method deletes the IMPLTYPE flags for the indexed interface.

ICreateTypeInfo2::SetCustData

This method sets a value for custom data.

ICreateTypeInfo2::SetFuncCustData

This method sets a value for a specified custom function.

ICreateTypeInfo2::SetParamCustData

This method sets the specified parameter for the custom data.

ICreateTypeInfo2::SetVarCustData

This method sets a custom data variable.

ICreateTypeInfo2::SetImplTypeCustData

This method sets the implementation type for custom data.

ICreateTypeInfo2::SetHelpStringContext

This method sets the context number for the specified Help string.

ICreateTypeInfo2::SetFuncHelpStringContext

This method sets a Help context value for a specified custom function.

ICreateTypeInfo2::SetVarHelpStringContext

This method sets a Help context value for a specified variable.

ICreateTypeInfo2::SetName

This method sets the name of the typeinfo.

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
ICreateTypeInfo
ICreateTypeInfo::LayOut
ITypeInfo
IUnknown
IUnknown::QueryInterface
VARDESC