|
|
|
ICreateTypeLib Interface |
|
IID_ICreateTypeLib |
{00020406-0000-0000-C000-000000000046} |
|
The ICreateTypeLib interface provides the methods for creating and managing the component or file that contains type information. Type libraries are created from type descriptions using the MIDL compiler. These type libraries are accessed through the ITypeLib interface.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
ICreateTypeLib Methods |
Description |
|
CreateTypeInfo |
Creates a new type description instance within the type library. |
|
SetName |
Sets the name of the type library. |
|
SetVersion |
Sets major and minor version numbers for the type library. |
|
SetGuid |
Sets the GUID for the type library. |
|
SetDocString |
Sets the documentation string for the type library. |
|
SetHelpFileName |
Sets the Help file name. |
|
SetHelpContext |
Sets the Help context ID for general information about the type library in the Help file. |
|
SetLcid |
Sets the locale identifier (LCID) code indicating the national language associated with the library. |
|
SetLibFlags |
Sets library flags, such as LIBFLAG_FRESTRICTED. |
|
SaveAllChanges |
Saves the ICreateTypeLib instance. |
|
CreateTypeInfo |
|
FUNCTION ICreateTypeLib_CreateTypeInfo ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strName AS STRING _ , BYVAL tkind AS LONG _ , BYREF ppCTInfo AS DWORD _
) AS
LONG
|
|
SetName |
|
FUNCTION ICreateTypeLib_SetName ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strName AS STRING _
) AS
LONG
|
|
SetVersion |
|
FUNCTION ICreateTypeLib_SetVersion ( _ BYVAL pthis AS DWORD PTR _ , BYVAL wMajorVerNum AS WORD _ , BYVAL wMinorVerNum AS WORD _
)
AS LONG
|
|
SetGuid |
|
FUNCTION ICreateTypeLib_SetGuid ( _ BYVAL pthis AS DWORD PTR _ , BYREF rguid AS GUID _
) AS LONG
|
|
SetDocString |
|
FUNCTION ICreateTypeLib_SetDocString ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strDoc AS STRING _
) AS LONG
|
|
SetHelpFileName |
|
FUNCTION ICreateTypeLib_SetHelpFileName ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strHelpFileName AS STRING _
)
AS LONG
strHelpFileName =
UCODE$(strHelpFileName
& $NUL)
|
|
SetHelpContext |
|
FUNCTION ICreateTypeLib_SetHelpContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL dwHelpContext AS DWORD _
)
AS LONG
|
|
SetLcid |
|
FUNCTION ICreateTypeLib_SetLcid ( _ BYVAL pthis AS DWORD PTR _ , BYVAL lcid AS LONG _
) AS LONG
|
|
SetLibFlags |
|
FUNCTION ICreateTypeLib_SetLibFlags ( _ BYVAL pthis AS DWORD PTR _ , BYVAL uLibFlags AS DWORD _
) AS
LONG
|
|
SaveAllChanges |
|
FUNCTION ICreateTypeLib_SaveAllChanges ( _ BYVAL pthis AS DWORD PTR _
) AS
LONG
|
Page last updated on Monday, 27 March 2006 12:45:15 +0100