ReactOS  0.4.12-dev-14-gd0c8636
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 540 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 548 of file atlbase.h.

549  {
550  return pRegistrar->AddReplacement(L"APPID", T::GetAppId());
551  }
HRESULT AddReplacement([in] LPCOLESTR Key, [in] LPCOLESTR item)
static const WCHAR L[]
Definition: oid.c:1087

◆ GetAppId()

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

Definition at line 553 of file atlbase.h.

554  {
555  return L"";
556  }
static const WCHAR L[]
Definition: oid.c:1087

◆ RegisterServer()

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

Definition at line 605 of file atlbase.h.

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

606 {
607  return _AtlComModule.RegisterServer(bRegTypeLib, pCLSID);
608 }
HRESULT RegisterServer(BOOL bRegTypeLib=FALSE, const CLSID *pCLSID=NULL)
Definition: atlbase.h:581
CAtlComModule _AtlComModule
Definition: atlbase.cpp:28

◆ UnregisterServer()

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

Definition at line 611 of file atlbase.h.

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

612 {
613  return _AtlComModule.UnregisterServer(bUnRegTypeLib, pCLSID);
614 }
HRESULT UnregisterServer(BOOL bUnRegTypeLib, const CLSID *pCLSID=NULL)
Definition: atlbase.h:586
CAtlComModule _AtlComModule
Definition: atlbase.cpp:28

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