|
|
|
ICreateTypeInfo2 Interface |
|
IID_ICreateTypeInfo2 |
{0002040E-0000-0000-C000-000000000046} |
|
The ICreateTypeInfo2 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 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 in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
ICreateTypeInfo Methods |
Description |
|
SetGuid |
Sets the globally unique identifier (GUID) for the type library. |
|
SetTypeFlags |
Sets type flags of the type description that is being created. |
|
SetDocString |
Sets the documentation string displayed by type browsers. |
|
SetHelpContext |
Sets the Help context ID of the type description. |
|
SetVersion |
Sets version numbers for the type description. |
|
AddRefTypeInfo |
Adds a type description to those referenced by the type description being created. |
|
AddFuncDesc |
Adds a function description as a type description. |
|
AddImplType |
Specifies an inherited interface. |
|
SetImplTypeFlags |
Sets the attributes for an implemented or inherited interface of a type. |
|
SetAlignment |
Specifies data alignment for types of TKIND_RECORD. |
|
SetSchema |
Undocumented. |
|
AddVarDesv |
Adds a data member description as a type description. |
|
SetFuncAndParamNames |
Sets the function name and names of its parameters. |
|
SetVarName |
Sets the name of a variable. |
|
SetTypeDescAlias |
Sets the type description for which this type description is an alias, if TYPEKIND=TKIND_ALIAS. |
|
DefineFuncAsDllEntry |
Associates a dynamic link library (DLL) entry point with a function that has a specified index. |
|
SetFuncDocString |
Sets the documentation string for a function. |
|
SetVarDocString |
Sets the documentation string for a variable. |
|
SetFuncHelpContext |
Sets the Help context identifier (ID) for a function. |
|
SetVarHelpContext |
Sets the Help context ID for a variable. |
|
SetMops |
Sets the opcode string for a type description. |
|
SetTypeIdldesc |
Undocumented. |
|
LayOut |
Assigns virtual function table (VTBL) offsets for virtual functions and instance offsets for per-instance data members. |
|
ICreateTypeInfo2 Methods |
Description |
|
DeleteFuncDesc |
Deletes a function description specified by the index number. |
|
DeleteFuncDescByMemId |
Deletes the function description specified by memid. |
|
DeleteVarDesc |
Deletes the specified VARDESC structure. |
|
DeleteVarDescByMemId |
Deletes the specified VARDESC structure. |
|
DeleteImplType |
Deletes the IMPLTYPE flags for the indexed interface. |
|
SetCustData |
Sets a value for custom data for the type information. |
|
SetFuncCustData |
Sets a value for custom data for a function. |
|
SetParamCustData |
Sets custom data for a parameter. |
|
SetVarCustData |
Sets custom data for a variable. |
|
SetImplTypeCustData |
Sets custom data for an implementation type. |
|
SetHelpStringContext |
Sets the context number for the specified Help string. |
|
SetFuncHelpStringContext |
Sets a Help context value for a specified function. |
|
SetVarHelpStringContext |
Sets a Help context value for a variable. |
|
Invalidate |
Undocumented. |
|
SetName |
Sets the name of the typeinfo. |
|
DeleteFuncDesc |
|
FUNCTION ICreateTypeInfo2_DeleteFuncDesc ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _
) AS LONG
|
|
DeleteFuncDescByMemId |
|
FUNCTION ICreateTypeInfo2_DeleteFuncDescByMemId ( _ BYVAL pthis AS DWORD PTR _ , BYVAL memid AS LONG _ , BYVAL invkind AS DWORD _
) AS LONG
|
|
DeleteVarDesc |
|
FUNCTION ICreateTypeInfo2_DeleteVarDesc ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _
) AS LONG
|
|
DeleteVarDescByMemId |
|
FUNCTION ICreateTypeInfo2_DeleteVarDescByMemId ( _ BYVAL pthis AS DWORD PTR _ , BYVAL memid AS LONG _ ) AS LONG
|
|
DeleteImplType |
|
FUNCTION ICreateTypeInfo2_DeleteImplType ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _
) AS LONG
|
|
SetCustData |
|
FUNCTION ICreateTypeInfo2_SetCustData ( _ BYVAL pthis AS DWORD PTR _ , BYREF rguid AS GUID _ , BYVAL pVarVal AS VARIANT _
) AS
LONG
|
|
SetFuncCustData |
|
FUNCTION ICreateTypeInfo2_SetFuncCustData ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYREF rguid AS GUID _ , BYVAL pVarVal AS VARIANT _
) AS
LONG
|
|
SetParamCustData |
|
FUNCTION ICreateTypeInfo2_SetParamCustData ( _ BYVAL pthis AS DWORD PTR _ , BYVAL indexFunc AS DWORD _ , BYVAL indexParam AS DWORD _ , BYREF rguid AS GUID _ , BYVAL pVarVal AS VARIANT _
)
AS LONG
|
|
SetVarCustData |
|
FUNCTION ICreateTypeInfo2_SetVarCustData ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYREF rguid AS GUID _ , BYVAL pVarVal AS VARIANT _
) AS
LONG
|
|
SetImplTypeCustData |
|
FUNCTION ICreateTypeInfo2_SetImplTypeCustData ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYREF rguid AS GUID _ , BYVAL pVarVal AS VARIANT _
) AS
LONG
|
|
SetHelpStringContext |
|
FUNCTION ICreateTypeInfo2_SetHelpStringContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL dwHelpStringContext AS DWORD _ )
AS LONG
|
|
SetFuncHelpStringContext |
|
FUNCTION ICreateTypeInfo2_SetFuncHelpStringContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL dwHelpStringContext AS DWORD _ )
AS LONG
|
|
SetVarHelpStringContext |
|
FUNCTION ICreateTypeInfo2_SetVarHelpStringContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL dwHelpStringContext AS DWORD _
)
AS LONG
|
|
Invalidate |
|
FUNCTION ICreateTypeInfo2_Invalidate ( _ BYVAL pthis AS DWORD PTR _
) AS LONG
|
|
SetName |
|
FUNCTION ICreateTypeInfo2_SetName ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strName AS STRING _
) AS
LONG
|
Page last updated on Friday, 08 September 2006 20:51:17 +0200