Edit

Share via


WinModule Global Functions

These functions provide support for _AtlCreateWndData structure operations.

Important

The functions listed in the following table cannot be used in applications that execute in the Windows Runtime.

Name Description
AtlWinModuleAddCreateWndData This function is used to initialize and add an _AtlCreateWndData structure.
AtlWinModuleExtractCreateWndData Call this function to extract an existing _AtlCreateWndData structure.

Requirements

Header: atlbase.h

AtlWinModuleAddCreateWndData

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

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.

AtlWinModuleExtractCreateWndData

Call this function to extract an existing _AtlCreateWndData structure.

ATLINLINE ATLAPI_(void*) AtlWinModuleExtractCreateWndData(_ATL_WIN_MODULE* pWinModule);

Parameters

pWinModule
Pointer to a module's _ATL_WIN_MODULE70 structure.

Return Value

Returns a pointer to the _AtlCreateWndData structure.

Remarks

This function will extract an existing _AtlCreateWndData structure from the list referenced by a module's _ATL_WIN_MODULE70 structure.

See also

Functions