CAtlComModule::UnRegisterTypeLib

Call this method to unregister a type library.

HRESULT UnRegisterTypeLib( 
   LPCTSTR lpszIndex  
); 
HRESULT UnRegisterTypeLib( );

Parameters

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

Remarks

Removes information about a type library from 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.

Return Value

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

Requirements

Header: atlbase.h

See Also

Reference

CAtlComModule Class

CAtlComModule::RegisterTypeLib