CComModule::RegisterTypeLib

As of ATL 7.0, CComModule is obsolete: see ATL Module Classes for more details.

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

Parameters

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

Return Value

A standard HRESULT value.

Remarks

Adds information about a type library to the system registry.

If the module instance contains multiple type libraries, use the second version of this method to specify which type library should be used.

Requirements

Header: atlbase.h

See Also

Concepts

CComModule Class

CComModule Members