ICreateTypeInfo2 interface

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.

Members

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

Methods

The ICreateTypeInfo2 interface has these methods.

MethodDescription
DeleteFuncDesc

Deletes a function description specified by the index number.

DeleteFuncDescByMemId

Deletes the specified function description (FUNCDESC).

DeleteImplType

Deletes the IMPLTYPE flags for the indexed interface.

DeleteVarDesc

Deletes the specified VARDESC structure.

DeleteVarDescByMemId

Deletes the specified VARDESC structure.

SetCustData

Sets a value for custom data.

SetFuncCustData

Sets a value for custom data for the specified function.

SetFuncHelpStringContext

Sets a Help context value for a specified function.

SetHelpStringContext

Sets the context number for the specified Help string.

SetImplTypeCustData

Sets a value for custom data for the specified implementation type.

SetName

Sets the name of the typeinfo.

SetParamCustData

Sets a value for the custom data for the specified parameter.

SetVarCustData

Sets a value for custom data for the specified variable.

SetVarHelpStringContext

Sets a Help context value for a specified variable.

 

Requirements

IDL

OaIdl.idl

See also

Type Building Interfaces and Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft