Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CAtlModule Class

This class provides methods used by several ATL module classes.

class ATL_NO_VTABLE CAtlModule : 
   public _ATL_MODULE

Name

Description

CAtlModule::CAtlModule

The constructor.

CAtlModule::~CAtlModule

The destructor.

Name

Description

CAtlModule::AddCommonRGSReplacements

Override this method to add parameters to the ATL Registry Component (Registrar) replacement map.

CAtlModule::AddTermFunc

Adds a new function to be called when the module terminates.

CAtlModule::GetGITPtr

Returns the Global Interface Pointer.

CAtlModule::GetLockCount

Returns the lock count.

CAtlModule::Lock

Increments the lock count.

CAtlModule::Term

Releases all data members.

CAtlModule::Unlock

Decrements the lock count.

CAtlModule::UpdateRegistryFromResourceD

Runs the script contained in a specified resource to register or unregister an object.

CAtlModule::UpdateRegistryFromResourceDHelper

This method is called by UpdateRegistryFromResourceD to perform the registry update.

CAtlModule::UpdateRegistryFromResourceS

Runs the script contained in a specified resource to register or unregister an object. This method statically links to the ATL Registry Component.

Name

Description

CAtlModule::m_libid

Contains the GUID of the current module.

CAtlModule::m_pGIT

Pointer to the Global Interface Table.

This class is used by CAtlDllModuleT Class, CAtlExeModuleT Class, and CAtlServiceModuleT Class to provide support for DLL applications, EXE applications, and Windows services, respectively.

For more information on modules in ATL, see ATL Module Classes.

This class replaces the obsolete CComModule Class used in earlier versions of ATL.

Header: atlbase.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.