description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: CAtlWinModule Class |
CAtlWinModule Class |
11/04/2016 |
|
|
7ec844af-0f68-4a34-b0c8-9de50a025df0 |
This class provides support for ATL windowing components.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CAtlWinModule : public _ATL_WIN_MODULE
Name | Description |
---|---|
CAtlWinModule::CAtlWinModule | The constructor. |
CAtlWinModule::~CAtlWinModule | The destructor. |
Name | Description |
---|---|
CAtlWinModule::AddCreateWndData | Adds a data object. |
CAtlWinModule::ExtractCreateWndData | Returns a pointer to the window module data object. |
This class provides support for all ATL classes which require windowing features.
CAtlWinModule
Header: atlbase.h
This method initializes and adds an _AtlCreateWndData
structure.
void AddCreateWndData(_AtlCreateWndData* pData, void* pObject);
pData
Pointer to the _AtlCreateWndData
structure to be initialized and added to the current module.
pObject
Pointer to an object's this
pointer.
This method calls AtlWinModuleAddCreateWndData which initializes an _AtlCreateWndData structure. This structure will store the this
pointer, used to obtain the class instance in window procedures.
The constructor.
CAtlWinModule();
If initialization fails, an EXCEPTION_NONCONTINUABLE exception is raised.
The destructor.
~CAtlWinModule();
Frees all allocated resources.
This method returns a pointer to an _AtlCreateWndData
structure.
void* ExtractCreateWndData();
Returns a pointer to the _AtlCreateWndData
structure previously added with CAtlWinModule::AddCreateWndData, or NULL if no object is available.