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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för