Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 685 Bytes

atl-global-variables.md

File metadata and controls

31 lines (22 loc) · 685 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: ATL Global Variables
ATL Global Variables
12/06/2017
ATLBASE/_pAtlModule
global variables, ATL
_pAtlModule
e881a319-99ca-4f5d-8a0b-34b3dcd0f37f

ATL Global Variables

_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