Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAtlComModule::RegisterTypeLib

 

Call this method to register a type library.


      HRESULT RegisterTypeLib(
   LPCTSTR lpszIndex 
);
HRESULT RegisterTypeLib( );

lpszIndex

String in the format "\\N", where N is the integer index of the TYPELIB resource.

Returns S_OK on success, or an error HRESULT on failure.

Adds information about a type library to the system registry. If the module instance contains multiple type libraries, use the first version of this method to specify which type library should be used.

Requirements

Header: atlbase.h

Show: