This method creates a new Repository type library and attaches it to the root of the Repository. Each Repository type library represents a tool information model.
HRESULT CreateTypeLib(
VARIANT sObjId,
BSTR Name,
VARIANT TypeLibId,
IReposTypeLib **ppIRepTypeLib
);
Parameters
sObjId
[in]
The object identifier to be used for the new Repository type library object. The Repository engine will assign an object identifier if you set this parameter to OBJID_NULL.
Name
[in]
The name of the new Repository type library.
TypeLibId
[in]
The global identifier by which this Repository type library is referenced.
*ppIRepTypeLib [out]
The IReposTypeLib interface pointer to the new Repository type library object.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.