AtlWinModuleAddCreateWndData

 

This function is used to initialize and add an _AtlCreateWndData structure.

Important

This function cannot be used in applications that execute in the Windows Runtime.

Syntax

      ATLINLINE ATLAPI_(void) AtlWinModuleAddCreateWndData(
_ATL_WIN_MODULE * pWinModule,
_AtlCreateWndData* pData,
void * pObject
);

Parameters

  • pWinModule
    Pointer to a module's _ATL_WIN_MODULE70 structure.

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

  • pObject
    Pointer to an object's this pointer.

Remarks

Initializes an _AtlCreateWndData structure, which is used to store the this pointer used to refer to class instances, and adds it to the list referenced by a module's _ATL_WIN_MODULE70 structure. Called by CAtlWinModule::AddCreateWndData.

Requirements

Header: atlbase.h

See Also

WinModule Global Functions
AtlWinModuleExtractCreateWndData