This method obtains ownership of a critical section object if the thread model is multithreaded.
At a Glance
Syntax
void Lock( );
See Also
CComObjectRootEx::Unlock, CComObjectRootEx::m_critsec