As of ATL 7.0, CComModule is obsolete: see ATL Module Classes for more details.
Depending on the pCLSID parameter, updates the system registry for a single class object or for all objects in the object map.
If bRegTypeLib is TRUE, the type library information will also be updated.
See OBJECT_ENTRY_AUTO for information on how to add an entry to the object map.
RegisterServer will be called automatically by DLLRegisterServer for a DLL or by WinMain for an EXE run with the /RegServer command line option.