|
|
|
ICreateTypeInfo Interface |
|
IID_ICreateTypeInfo |
{00020405-0000-0000-C000-000000000046} |
|
This interface provides the tools for creating and administering the type information defined through the type description.
|
|
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. |
|
AddVarDesc |
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. |
|
ELEMDESC Structure |
|
UNION
ELEMDESCUNION |
|
FUNCDESC Structure |
|
TYPE FUNCDESC
|
|
IDLDESC Structure |
|
TYPE IDLDESC DWORD
' // Must be DWORD aligned wIDLFlags AS WORD END TYPE
|
|
PARAMDESCEX Structure |
|
TYPE PARAMDESCEX
filler
AS DWORD
|
|
PARAMDESC Structure |
|
TYPE PARAMDESC DWORD
' // Must be DWORD aligned
|
|
TYPEDESC Structure |
|
UNION TYPEDESCDATA END TYPE
|
|
VARDESC Structure |
|
UNION VARDESCDATA
oInst AS DWORD
|
|
SetGuid |
|
FUNCTION ICreateTypeInfo_SetGuid ( _ BYVAL pthis AS DWORD PTR _ , BYREF rguid AS GUID _ ) AS LONG
|
|
SetTypeFlags |
|
FUNCTION ICreateTypeInfo_SetTypeFlags ( _ BYVAL pthis AS DWORD PTR _ , BYVAL uTypeFlags AS DWORD _ ) AS
LONG
|
|
SetDocString |
|
FUNCTION ICreateTypeInfo_SetDocString ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strDoc AS STRING _ ) AS LONG
|
|
SetHelpContext |
|
FUNCTION ICreateTypeInfo_SetHelpContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL dwHelpContext AS DWORD _ )
AS LONG
|
|
SetVersion |
|
FUNCTION ICreateTypeInfo_SetVersion ( _ BYVAL pthis AS DWORD PTR _ , BYVAL wMajorVerNum AS WORD _ , BYVAL wMinorVerNum AS WORD _ )
AS LONG
|
|
AddRefTypeInfo |
|
FUNCTION ICreateTypeInfo_AddRefTypeInfo ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pTInfo AS DWORD _ , BYREF phRefType AS DWORD _ ) AS
LONG
|
|
AddFuncDesc |
|
FUNCTION ICreateTypeInfo_AddFuncDesc ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYREF pFuncDesc AS FUNCDESC _ ) AS
LONG
|
|
AddImplType |
|
FUNCTION ICreateTypeInfo_AddImplType ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL hRefType AS DWORD _ ) AS
LONG
|
|
SetImplTypeFlags |
|
FUNCTION ICreateTypeInfo_SetImplTypeFlags ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL implTypeFlags AS LONG _ ) AS
LONG
|
|
SetAlignment |
|
FUNCTION ICreateTypeInfo_SetAlignment ( _ BYVAL pthis AS DWORD PTR _ , BYVAL cbAlignment AS WORD _ ) AS
LONG
|
|
SetSchema |
|
FUNCTION ICreateTypeInfo_SetSchema ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strSchema AS STRING _ ) AS
LONG
|
|
AddVarDesc |
|
FUNCTION ICreateTypeInfo_AddVarDesc ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYREF pVarDesc AS VARDESC _ ) AS
LONG
|
|
SetFuncAndParamNames |
|
FUNCTION ICreateTypeInfo_SetFuncAndParamNames ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYREF rgszNames AS STRING _ , BYVAL cNames AS DWORD _
) AS LONG
|
|
SetVarName |
|
FUNCTION ICreateTypeInfo_SetVarName ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL strName AS STRING _
) AS
LONG
|
|
SetTypeDescAlias |
|
FUNCTION ICreateTypeInfo_SetTypeDescAlias ( _ BYVAL pthis AS DWORD PTR _ , BYREF pTDescAlias AS TYPEDESC _ )
AS LONG
|
|
DefineFuncAsDllEntry |
|
FUNCTION ICreateTypeInfo_DefineFuncAsDllEntry ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL strDllName AS STRING _ , BYVAL strProcName AS STRING _
)
AS LONG
|
|
SetFuncDocString |
|
FUNCTION ICreateTypeInfo_SetFuncDocString ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL strDocString AS STRING _ )
AS LONG
|
|
SetVarDocString |
|
FUNCTION ICreateTypeInfo_SetVarDocString ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL strDocString AS STRING _
)
AS LONG
|
|
SetFuncHelpContext |
|
FUNCTION ICreateTypeInfo_SetFuncHelpContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL dwHelpContext AS DWORD _ )
AS LONG
|
|
SetVarHelpContxt |
|
FUNCTION ICreateTypeInfo_SetVarHelpContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL dwHelpContext AS DWORD _ )
AS LONG
|
|
SetMops |
|
FUNCTION ICreateTypeInfo_SetMops ( _ BYVAL pthis AS DWORD PTR _ , BYVAL index AS DWORD _ , BYVAL strMops AS STRING _ ) AS
LONG
|
|
SetTypeIdldesc |
|
BYVAL pthis AS DWORD PTR _ , BYREF pIdlDesc AS IDLDESC _ ) AS
LONG
|
|
LayOut |
|
BYVAL pthis AS DWORD PTR _ ) AS LONG
|
Page last updated on Monday, 28 August 2006 02:27:32 +0200