_ATL_MODULE70 Structure

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _ATL_MODULE70 Structure.

Contains data used by every ATL module.

struct _ATL_MODULE70 {
    UINT cbSize;
    LONG m_nLockCnt;
    _ATL_TERMFUNC_ELEM* m_pTermFuncs;
    CComCriticalSection m_csStaticDataInitAndTypeInfo;
};

cbSize
The size of the structure, used for versioning.

m_nLockCnt
Reference count to determine how long the module should stay alive.

m_pTermFuncs
Tracks functions that have been registered to be called when ATL shuts down.

m_csStaticDataInitAndTypeInfo
Used to coordinate access to internal data in multithreaded situations.

_ATL_MODULE is defined as a typedef of _ATL_MODULE70.

Header: atlbase.h

Structures

Show: