ICreateTypeInfo interface

Provides the tools for creating and administering the type information defined through the type description.

Members

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

Methods

The ICreateTypeInfo interface has these methods.

MethodDescription
AddFuncDesc

Adds a function description to the type description.

AddImplType

Specifies an inherited interface, or an interface implemented by a component object class (coclass).

AddRefTypeInfo

Adds a type description to those referenced by the type description being created.

AddVarDesc

Adds a variable or data member description to the type description.

DefineFuncAsDllEntry

Associates a DLL entry point with the function that has the specified index.

LayOut

Assigns VTBL offsets for virtual functions and instance offsets for per-instance data members, and creates the two type descriptions for dual interfaces.

SetAlignment

Specifies the data alignment for an item of TYPEKIND=TKIND_RECORD.

SetDocString

Sets the documentation string displayed by type browsers.

SetFuncAndParamNames

Sets the name of a function and the names of its parameters to the specified names.

SetFuncDocString

Sets the documentation string for the function with the specified index.

SetFuncHelpContext

Sets the Help context ID for the function with the specified index.

SetGuid

Sets the globally unique identifier (GUID) associated with the type description.

SetHelpContext

Sets the Help context ID of the type information.

SetImplTypeFlags

Sets the attributes for an implemented or inherited interface of a type.

SetMops

Sets the marshaling opcode string associated with the type description or the function.

SetTypeDescAlias

Sets the type description for which this type description is an alias, if TYPEKIND=TKIND_ALIAS.

SetTypeFlags

Sets type flags of the type description being created.

SetVarDocString

Sets the documentation string for the variable with the specified index.

SetVarHelpContext

Sets the Help context ID for the variable with the specified index.

SetVarName

Sets the name of a variable.

SetVersion

Sets the major and minor version number of the type information.

 

Requirements

IDL

OaIdl.idl

See also

Type Building Interfaces and Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft