CComModule::RegisterTypeLib

HRESULT RegisterTypeLib( );

HRESULT RegisterTypeLib( LPCTSTR lpszIndex );

Return Value

A standard HRESULT value.

Parameters

lpszIndex

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

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.

CComModule OverviewClass Members