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.
CAtlComModule::RegisterServer
Call this method to update the system registry for each object in the object map.
HRESULT RegisterServer(
BOOL bRegTypeLib = FALSE,
const CLSID* pCLSID = NULL
);
- bRegTypeLib
TRUE if the type library is to be registered. The default value is FALSE.
- pCLSID
Points to the CLSID of the object to be registered. If NULL (the default value), all objects in the object map will be registered.
Returns S_OK on success, or an error HRESULT on failure.
Calls the global function AtlComModuleRegisterServer.
Requirements
Header: atlbase.h
Show: