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.

AtlModuleRegisterTypeLib

 

Registers a type library.

Note   This function is obsolete in Visual C++ .NET 2002 and later but is available for backward compatibility with projects created with previous versions of Visual C++.


      ATLAPI AtlModuleRegisterTypeLib(
   _ATL_MODULE* pM,
   LPCOLESTR lpszIndex 
);

pM

Pointer to a CComModule class or derived class.

lpszIndex

String in the format "\\N", where N is the integer index of the type library resource. Can be NULL if no index is required.

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

This function is obsolete. Instead, use its replacement, AtlRegisterTypeLib.

This helper function is used by CComModule::RegisterTypeLib.

Requirements

Header: atlbase.h

Show: