This topic has not yet been rated - Rate this topic

CAtlModuleT::RegisterServer

Adds the service to the registry.

HRESULT RegisterServer( 
   BOOL bRegTypeLib = FALSE, 
   const CLSID* pCLSID = NULL  
) throw( );
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.

Header: atlbase.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.