ReactOS  0.4.15-dev-4582-g6dc1738
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
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 529 of file atlbase.h.

Member Function Documentation

◆ AddCommonRGSReplacements()

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

Implements ATL::CAtlModule.

Definition at line 537 of file atlbase.h.

538  {
539  return pRegistrar->AddReplacement(L"APPID", T::GetAppId());
540  }
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 ( )

Definition at line 542 of file atlbase.h.

543  {
544  return L"";
545  }
#define L(x)
Definition: ntvdm.h:50

◆ RegisterServer()

template<class T >
HRESULT ATL::CAtlModuleT< T >::RegisterServer ( BOOL  bRegTypeLib = FALSE,

Definition at line 597 of file atlbase.h.

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

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

◆ UnregisterServer()

template<class T >
HRESULT ATL::CAtlModuleT< T >::UnregisterServer ( BOOL  bUnRegTypeLib,

Definition at line 603 of file atlbase.h.

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

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

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