Dela via


_pAtlModule

A global variable storing a pointer to the current module.

__declspec(selectany) CAtlModule * _pAtlModule

Remarks

Methods on this global variable can be used to provide the functionality that the (now obsolete) class CComModule provided in Visual C++ 6.0.

Example

LONG lLocks = _pAtlModule->GetLockCount();

Requirements

Header: atlbase.h

See Also

Other Resources

ATL Global Variables