_pAtlModule
Visual Studio 2015
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 _pAtlModule.
A global variable storing a pointer to the current module.
__declspec(selectany) CAtlModule* _pAtlModule
Methods on this global variable can be used to provide the functionality that the (now obsolete) class CComModule provided in Visual C++ 6.0.
LONG lLocks = _pAtlModule->GetLockCount();
Header: atlbase.h
Show: