ReactOS 0.4.15-dev-7924-g5949c20
ATL::CAtlModuleT< T > Class Template Reference

#include <atlbase.h>

Inheritance diagram for ATL::CAtlModuleT< T >:
Collaboration diagram for ATL::CAtlModuleT< T >:

Public Member Functions

HRESULT RegisterServer (BOOL bRegTypeLib=FALSE, const CLSID *pCLSID=NULL)
 
HRESULT UnregisterServer (BOOL bUnRegTypeLib, const CLSID *pCLSID=NULL)
 
virtual HRESULT AddCommonRGSReplacements (IRegistrarBase *pRegistrar)
 
- Public Member Functions inherited from ATL::CAtlModule
 CAtlModule ()
 
virtual LONG GetLockCount ()
 
virtual LONG Lock ()
 
virtual LONG Unlock ()
 
virtual HRESULT AddCommonRGSReplacements (IRegistrarBase *)=0
 
HRESULT WINAPI UpdateRegistryFromResource (LPCTSTR lpszRes, BOOL bRegister, struct _ATL_REGMAP_ENTRY *pMapEntries=NULL)
 
HRESULT WINAPI UpdateRegistryFromResource (UINT nResID, BOOL bRegister, struct _ATL_REGMAP_ENTRY *pMapEntries=NULL)
 

Static Public Member Functions

static LPCOLESTR GetAppId ()
 

Additional Inherited Members

- Public Attributes inherited from ATL::_ATL_MODULE70
UINT cbSize
 
LONG m_nLockCnt
 
_ATL_TERMFUNC_ELEMm_pTermFuncs
 
CComCriticalSection m_csStaticDataInitAndTypeInfo
 
- Static Public Attributes inherited from ATL::CAtlModule
static GUID m_libid
 

Detailed Description

template<class T>
class ATL::CAtlModuleT< T >

Definition at line 578 of file atlbase.h.

Member Function Documentation

◆ AddCommonRGSReplacements()

template<class T >
virtual HRESULT ATL::CAtlModuleT< T >::AddCommonRGSReplacements ( IRegistrarBase pRegistrar)
inlinevirtual

Implements ATL::CAtlModule.

Definition at line 586 of file atlbase.h.

587 {
588 return pRegistrar->AddReplacement(L"APPID", T::GetAppId());
589 }
HRESULT AddReplacement([in] LPCOLESTR Key, [in] LPCOLESTR item)
#define L(x)
Definition: ntvdm.h:50

◆ GetAppId()

template<class T >
static LPCOLESTR ATL::CAtlModuleT< T >::GetAppId ( )
inlinestatic

Definition at line 591 of file atlbase.h.

592 {
593 return L"";
594 }

◆ RegisterServer()

template<class T >
HRESULT ATL::CAtlModuleT< T >::RegisterServer ( BOOL  bRegTypeLib = FALSE,
const CLSID pCLSID = NULL 
)

Definition at line 667 of file atlbase.h.

668{
669 return _AtlComModule.RegisterServer(bRegTypeLib, pCLSID);
670}

Referenced by ATL::CComModule::RegisterServer().

◆ UnregisterServer()

template<class T >
HRESULT ATL::CAtlModuleT< T >::UnregisterServer ( BOOL  bUnRegTypeLib,
const CLSID pCLSID = NULL 
)

Definition at line 673 of file atlbase.h.

674{
675 return _AtlComModule.UnregisterServer(bUnRegTypeLib, pCLSID);
676}

Referenced by ATL::CComModule::UnregisterServer().


The documentation for this class was generated from the following file: