Share via


CAtlWinModule::AddCreateWndData

 

This method initializes and adds an _AtlCreateWndData structure.

Syntax

      void AddCreateWndData(
   _AtlCreateWndData* pData,
   void* pObject 
);

Parameters

  • pData
    Pointer to the _AtlCreateWndData structure to be initialized and added to the current module.

  • pObject
    Pointer to an object's this pointer.

Remarks

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.

Requirements

Header: atlbase.h

See Also

CAtlWinModule Class
CAtlWinModule::ExtractCreateWndData