If the thread model is multi-threaded, this function obtains ownership of a critical section object.
void Lock( );
Header file: | Atlcom.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComObjectRootEx Overview, CComObjectRootEx Methods, CComObjectRootEx::Unlock, CComObjectRootEx::m_critsec