|
|
|
ICreateTypeLib2 Interface |
|
IID_ICreateTypeLib2 |
{0002040F-0000-0000-C000-000000000046 |
|
ICreateTypeLib2 inherits from ICreateTypeLib, and has four member functions. The ICreateTypeInfo instance returned from ICreateTypeLib can be accessed through a QueryInterface() call to ICreateTypeInfo2.
|
|
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. |
|
ICreateTypeLib2 Methods |
Description |
|
DeleteTypeInfo |
Deletes a specified type information from the type library. |
|
SetCustData |
Sets a value to custom data. |
|
SetHelpStringContext |
Sets the Help string context number. |
|
SetHelpStringDll |
Sets the DLL name to be used for Help string lookup. |
|
DeleteTypeInfo |
|
FUNCTION ICreateTypeLib2_DeleteTypeInfo ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strName AS STRING _
) AS LONG
|
|
SetCustData |
|
FUNCTION ICreateTypeLib2_SetCustData ( _ BYVAL pthis AS DWORD PTR _ , BYREF rguid AS GUID _ , BYVAL pVarVal AS VARIANT _
) AS
LONG
LOCAL HRESULT AS
LONG
|
|
SetHelpStringContext |
|
FUNCTION ICreateTypeLib2_SetHelpStringContext ( _ BYVAL pthis AS DWORD PTR _ , BYVAL dwHelpStringContext AS DWORD _
)
AS LONG
|
|
SetHelpStringDll |
|
FUNCTION ICreateTypeLib2_SetHelpStringDll ( _ BYVAL pthis AS DWORD PTR _ , BYVAL strFileName AS STRING _
) AS
LONG
|
Page last updated on Friday, 08 September 2006 22:36:35 +0200