CAtlModule Class
This class provides methods used by several ATL module classes.
class ATL_NO_VTABLE CAtlModule :
public _ATL_MODULE
Members
Public Constructors
Name |
Description |
---|---|
The constructor. |
|
The destructor. |
Public Methods
Name |
Description |
---|---|
Override this method to add parameters to the ATL Registry Component (Registrar) replacement map. |
|
Adds a new function to be called when the module terminates. |
|
Returns the Global Interface Pointer. |
|
Returns the lock count. |
|
Increments the lock count. |
|
Releases all data members. |
|
Decrements the lock count. |
|
Runs the script contained in a specified resource to register or unregister an object. |
|
This method is called by UpdateRegistryFromResourceD to perform the registry update. |
|
Runs the script contained in a specified resource to register or unregister an object. This method statically links to the ATL Registry Component. |
Public Data Members
Name |
Description |
---|---|
Contains the GUID of the current module. |
|
Pointer to the Global Interface Table. |
Remarks
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.
Inheritance Hierarchy
CAtlModule
Requirements
Header: atlbase.h