ReactOS  0.4.14-dev-52-g6116262
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 ()
 
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 528 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 536 of file atlbase.h.

537  {
538  return pRegistrar->AddReplacement(L"APPID", T::GetAppId());
539  }
HRESULT AddReplacement([in] LPCOLESTR Key, [in] LPCOLESTR item)
static const WCHAR L[]
Definition: oid.c:1250

◆ GetAppId()

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

Definition at line 541 of file atlbase.h.

542  {
543  return L"";
544  }
static const WCHAR L[]
Definition: oid.c:1250

◆ RegisterServer()

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

Definition at line 596 of file atlbase.h.

597 {
598  return _AtlComModule.RegisterServer(bRegTypeLib, pCLSID);
599 }

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

◆ UnregisterServer()

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

Definition at line 602 of file atlbase.h.

603 {
604  return _AtlComModule.UnregisterServer(bUnRegTypeLib, pCLSID);
605 }

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


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